]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - lfs/ipfireseeder
rtorrent hatte Probleme auf den VIA C3 Prozessoren.
[people/pmueller/ipfire-2.x.git] / lfs / ipfireseeder
1 ###############################################################################
2 # This file is part of the IPCop Firewall. #
3 # #
4 # IPCop is free software; you can redistribute it and/or modify #
5 # it under the terms of the GNU General Public License as published by #
6 # the Free Software Foundation; either version 2 of the License, or #
7 # (at your option) any later version. #
8 # #
9 # IPCop is distributed in the hope that it will be useful, #
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
12 # GNU General Public License for more details. #
13 # #
14 # You should have received a copy of the GNU General Public License #
15 # along with IPCop; if not, write to the Free Software #
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
17 # #
18 # Makefiles are based on LFSMake, which is #
19 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
20 # #
21 ###############################################################################
22
23 ###############################################################################
24 # Definitions
25 ###############################################################################
26
27 include Config
28
29 VER = 1.00
30
31 THISAPP = ipfireseeder-$(VER)
32 DL_FILE = IPFire-1.4.9-FINAL.iso.torrent
33 DL_FROM = $(URL_IPFIRE)
34 DIR_APP = $(DIR_SRC)/$(THISAPP)
35 TARGET = $(DIR_INFO)/$(THISAPP)
36 PROG = ipfireseeder
37 PAK_VER = 2
38
39 DESCDE = ""
40 DESCEN = ""
41 DEPS = "rtorrent"
42
43 ###############################################################################
44 # Top-level Rules
45 ###############################################################################
46
47 objects = $(DL_FILE) \
48 ipfire-2.0beta1.i586-full.iso.torrent
49
50 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
51 ipfire-2.0beta1.i586-full.iso.torrent = $(DL_FROM)/ipfire-2.0beta1.i586-full.iso.torrent
52
53 $(DL_FILE)_MD5 = 20c0e570329d80c2ae965b8d3b206ba5
54 ipfire-2.0beta1.i586-full.iso.torrent_MD5 = 65414ea68e7797a45465021c666fc0ad
55
56 install : $(TARGET)
57
58 check : $(patsubst %,$(DIR_CHK)/%,$(objects))
59
60 download :$(patsubst %,$(DIR_DL)/%,$(objects))
61
62 md5 : $(subst %,%_MD5,$(objects))
63
64 dist:
65 @$(PAK)
66
67 ###############################################################################
68 # Downloading, checking, md5sum
69 ###############################################################################
70
71 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
72 @$(CHECK)
73
74 $(patsubst %,$(DIR_DL)/%,$(objects)) :
75 @$(LOAD)
76
77 $(subst %,%_MD5,$(objects)) :
78 @$(MD5)
79
80 ###############################################################################
81 # Installation Details
82 ###############################################################################
83
84 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
85 @$(PREBUILD)
86 -mkdir -p /var/log/seeder /var/ipfire/seeder
87 cp -vf $(DIR_DL)/{$(DL_FILE),ipfire-2.0beta1.i586-full.iso.torrent} /var/ipfire/seeder
88 @$(POSTBUILD)