]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/c_icap_modules/c_icap_modules.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / c_icap_modules / c_icap_modules.nm
index 720abfd260b225cb1441345d65a1a3ba7d0b9843..04fc7d026ed6405de039da8eefdac683fc80a143 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = c_icap_modules
-PKG_VER        = 0.1.4
-PKG_REL        = 1
-
-PKG_MAINTAINER = Christian Schmidt <christian.schmidt@ipfire.org>
-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 <christian.schmidt@ipfire.org>
+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