]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/ipfireseeder
IPFire-Seeder gebaut...
[ipfire-2.x.git] / lfs / ipfireseeder
similarity index 89%
rename from lfs/ctorrent
rename to lfs/ipfireseeder
index aa0d87304192f7b2b48a5cd39a8dd765c269fdad..af42461af75eb4fbe602036f496b2976cdf52289 100644 (file)
 
 include Config
 
 
 include Config
 
-VER        = dnh3.1
+VER        = 1.00
 
 
-THISAPP    = ctorrent-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+THISAPP    = ipfireseeder-$(VER)
+DL_FILE    = IPFire-1.4.9-FINAL.iso.torrent
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = ipfireseeder
+PAK_VER    = 1
+
+DESCDE     = ""
+DESCEN     = ""
+DEPS       = "rtorrent"
 
 ###############################################################################
 # Top-level Rules
 
 ###############################################################################
 # Top-level Rules
@@ -42,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = de313da3a9acbd63bc50f093ed08097f
+$(DL_FILE)_MD5 = 20c0e570329d80c2ae965b8d3b206ba5
 
 install : $(TARGET)
 
 
 install : $(TARGET)
 
@@ -52,6 +58,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist: 
+       @$(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -71,9 +80,6 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr
-       cd $(DIR_APP) && make $(MAKETUNING)
-       cd $(DIR_APP) && make install
-       @rm -rf $(DIR_APP)
+       -mkdir -p /var/log/seeder /var/ipfire/seeder
+       cp -vf $(DIR_DL)/$(DL_FILE) /var/ipfire/seeder
        @$(POSTBUILD)
        @$(POSTBUILD)