X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pkgs%2Fc_icap_modules%2Fc_icap_modules.nm;h=04fc7d026ed6405de039da8eefdac683fc80a143;hb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;hp=720abfd260b225cb1441345d65a1a3ba7d0b9843;hpb=f0b55c28746b56de89d7a10a4ad0ad2a4939baac;p=people%2Farne_f%2Fipfire-3.x.git
diff --git a/pkgs/c_icap_modules/c_icap_modules.nm b/pkgs/c_icap_modules/c_icap_modules.nm
index 720abfd26..04fc7d026 100644
--- a/pkgs/c_icap_modules/c_icap_modules.nm
+++ b/pkgs/c_icap_modules/c_icap_modules.nm
@@ -1,59 +1,49 @@
###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see . #
-# #
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team #
###############################################################################
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME = c_icap_modules
-PKG_VER = 0.1.4
-PKG_REL = 1
-
-PKG_MAINTAINER = Christian Schmidt
-PKG_GROUPS = Networking/Daemons
-PKG_URL = http://c-icap.sourceforge.net
-PKG_LICENSE = GPLv2
-PKG_SUMMARY = c-icap service modules for clamav and content filrer.
+name = c_icap_modules
+version = 0.1.4
+release = 1
-PKG_BUILD_DEPS+= c_icap clamav-devel db4-devel libtool-devel autoconf automake
+maintainer = Christian Schmidt
+groups = Networking/Daemons
+url = http://c-icap.sourceforge.net
+license = GPLv2
+summary = c-icap service modules for clamav and content filrer.
-define PKG_DESCRIPTION
+description
c-icap is an implementation of an ICAP server. It can be used with \
HTTP proxies that support the ICAP protocol to implement content \
adaptation and filtering services.
-endef
-
-PKG_TARBALL = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
- --sysconfdir=/etc \
- --localstatedir=/var
-
-define STAGE_PREPARE_CMDS
- cd $(DIR_APP) && autoreconf -vfi
-endef
-
-define STAGE_INSTALL
- -mkdir -pv $(BUILDROOT)/etc
-
- cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
-endef
+end
+
+build
+ requires
+ autoconf
+ automake
+ c_icap
+ clamav-devel
+ db4-devel
+ libtool-devel
+ end
+
+ configure_options += \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+
+ prepare_cmds
+ autoreconf -vfi
+ end
+
+ install
+ mkdir -pv %{BUILDROOT}/etc
+ make install DESTDIR=%{BUILDROOT}
+ end
+end
+
+packages
+ package %{name}
+ end
+end