source: trunk/initrd/make.d/scrub.rul @ 522

Last change on this file since 522 was 522, checked in by dennis, 9 years ago

Changed back to openssl version 0.9.8

  • Property svn:keywords set to Id URL
File size: 1.1 KB
Line 
1#
2#       $Id: scrub.rul 522 2012-07-17 08:11:04Z dennis $
3#   vi: set filetype=make:
4#
5
6SCRUB_VERSION   = 2.5.2
7SCRUB_TARBALL   = scrub-$(SCRUB_VERSION).tar.bz2
8#SCRUB_TARBALL  = scrub-$(SCRUB_VERSION).tar.gz
9
10#### http://scrub.sourceforge.net ####
11SCRUB_URL       = ftp://ftp.sara.nl/pub/sali/sources/scrub-$(SCRUB_VERSION).tar.bz2
12#SCRUB_URL      = ftp://ftp.sara.nl/pub/sali/sources/scrub-$(SCRUB_VERSION).tar.gz
13SCRUB_INFO      = http://code.google.com/p/diskscrub/
14
15SCRUB_DIR       = $(SRC_DIR)/scrub-$(SCRUB_VERSION)
16
17.PHONY: scrub
18scrub:  $(SCRUB_DIR).build
19
20.PHONY: scrub_install
21scrub_install:  $(SCRUB_DIR).install
22
23.PHONY: scrub_clean
24scrub_clean: $(SCRUB_DIR).clean
25
26$(SCRUB_DIR).build:  $(SCRUB_DIR).get
27        cd $(SCRUB_DIR) && ./configure --prefix=/usr  && make
28
29        touch $@
30
31$(SCRUB_DIR).install:   $(SCRUB_DIR).build
32        cd $(SCRUB_DIR) && make DESTDIR=$(INITRD_BUILD_DIR) install
33
34        touch $@
35
36$(SCRUB_DIR).get:
37        rm -rf $(SCRUB_DIR)
38        $(GETSOURCE) $(SCRUB_URL) $(SRC_DIR)
39        cd $(SRC_DIR) && tar -xvjf $(SRC_DIR)/$(SCRUB_TARBALL)
40        #cd $(SRC_DIR) && tar -xvzf $(SRC_DIR)/$(SCRUB_TARBALL)
41
42        touch $@
43
44$(SCRUB_DIR).clean: initrd_clean
45        rm -rf $(SCRUB_DIR)*
Note: See TracBrowser for help on using the repository browser.