]> git.ipfire.org Git - ipfire-2.x.git/blame - lfs/webcyradm
Wieder einige Pakete zur ISO/Pakfire hinzugefuegt.
[ipfire-2.x.git] / lfs / webcyradm
CommitLineData
f28d0ddc
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
29VER = 0.5.5-CVS-for-ipfire
30
31THISAPP = web-cyradm-$(VER)
32DL_FILE = $(THISAPP).tar.gz
33DL_FROM = $(URL_IPFIRE)
34DIR_APP = $(DIR_SRC)/$(THISAPP)
35TARGET = $(DIR_INFO)/$(THISAPP)
f1baee3e
MT
36PROG = webcyradm
37PAK_VER = 1
f28d0ddc 38
5609904b
MT
39DESCDE = "Ein in PHP geschriebenes Frontend für das Verwalten von Emailaccounts."
40DESCEN = "A frontend for managing email accounts written in PHP."
41DEPS = "cyrusimap postfix"
42
f28d0ddc
MT
43###############################################################################
44# Top-level Rules
45###############################################################################
46
47objects = $(DL_FILE) mail-db-mysql.tar.gz
48
49$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
50mail-db-mysql.tar.gz = $(DL_FROM)/mail-db-mysql.tar.gz
51
52$(DL_FILE)_MD5 = 4764e91fd422edc9bbe9d63ed9f07d01
53mail-db-mysql.tar.gz_MD5 = 789ebf5ab48a430c77ca7c1a47a04281
54
55install : $(TARGET)
56
57check : $(patsubst %,$(DIR_CHK)/%,$(objects))
58
59download :$(patsubst %,$(DIR_DL)/%,$(objects))
60
61md5 : $(subst %,%_MD5,$(objects))
62
63dist:
5609904b 64 $(PAK)
f28d0ddc
MT
65
66###############################################################################
67# Downloading, checking, md5sum
68###############################################################################
69
70$(patsubst %,$(DIR_CHK)/%,$(objects)) :
71 @$(CHECK)
72
73$(patsubst %,$(DIR_DL)/%,$(objects)) :
74 @$(LOAD)
75
76$(subst %,%_MD5,$(objects)) :
77 @$(MD5)
78
79###############################################################################
80# Installation Details
81###############################################################################
82
83$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
84 @$(PREBUILD)
d733119b
MT
85 cd $(DIR_SRC) && mkdir -p /srv/web/webcyradm
86 cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) -C /srv/web/webcyradm
f1baee3e 87 cd $(DIR_SRC) && tar zxf $(DIR_DL)/mail-db-mysql.tar.gz -C /srv/mysql
f28d0ddc 88 @$(POSTBUILD)