]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - lfs/ipfireseeder
Pakfire laedt die Listen jetzt besser und hat eine veraenderte Oberflaeche bekommen.
[people/pmueller/ipfire-2.x.git] / lfs / ipfireseeder
CommitLineData
7d3af7f7
MT
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
27include Config
28
06209efc 29VER = 1.00
7d3af7f7 30
06209efc
MT
31THISAPP = ipfireseeder-$(VER)
32DL_FILE = IPFire-1.4.9-FINAL.iso.torrent
7d3af7f7
MT
33DL_FROM = $(URL_IPFIRE)
34DIR_APP = $(DIR_SRC)/$(THISAPP)
35TARGET = $(DIR_INFO)/$(THISAPP)
06209efc 36PROG = ipfireseeder
a3d825db 37PAK_VER = 2
06209efc
MT
38
39DESCDE = ""
40DESCEN = ""
41DEPS = "rtorrent"
7d3af7f7
MT
42
43###############################################################################
44# Top-level Rules
45###############################################################################
46
a3d825db
MT
47objects = $(DL_FILE) \
48 ipfire-2.0beta1.i586-full.iso.torrent
7d3af7f7
MT
49
50$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
a3d825db 51ipfire-2.0beta1.i586-full.iso.torrent = $(DL_FROM)/ipfire-2.0beta1.i586-full.iso.torrent
7d3af7f7 52
06209efc 53$(DL_FILE)_MD5 = 20c0e570329d80c2ae965b8d3b206ba5
a3d825db 54ipfire-2.0beta1.i586-full.iso.torrent_MD5 = 65414ea68e7797a45465021c666fc0ad
7d3af7f7
MT
55
56install : $(TARGET)
57
58check : $(patsubst %,$(DIR_CHK)/%,$(objects))
59
60download :$(patsubst %,$(DIR_DL)/%,$(objects))
61
62md5 : $(subst %,%_MD5,$(objects))
63
06209efc
MT
64dist:
65 @$(PAK)
66
7d3af7f7
MT
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)
06209efc 86 -mkdir -p /var/log/seeder /var/ipfire/seeder
a3d825db 87 cp -vf $(DIR_DL)/{$(DL_FILE),ipfire-2.0beta1.i586-full.iso.torrent} /var/ipfire/seeder
7d3af7f7 88 @$(POSTBUILD)