]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
c-icap-modules: Add i-cap service modules 0.1.4.
authorChristian Schmidt <maniacikarus@ipfire.org>
Sun, 3 Apr 2011 10:39:40 +0000 (12:39 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Sun, 3 Apr 2011 10:39:40 +0000 (12:39 +0200)
pkgs/c_icap_modules/c_icap_modules.nm [new file with mode: 0644]

diff --git a/pkgs/c_icap_modules/c_icap_modules.nm b/pkgs/c_icap_modules/c_icap_modules.nm
new file mode 100644 (file)
index 0000000..720abfd
--- /dev/null
@@ -0,0 +1,59 @@
+###############################################################################
+#                                                                             #
+# 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/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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.
+
+PKG_BUILD_DEPS+= c_icap clamav-devel db4-devel libtool-devel autoconf automake
+
+define PKG_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