wok annotate c_icap/receipt @ rev 11890

Add: c_icap*
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Feb 28 22:00:15 2012 +0100 (2012-02-28)
parents
children 95e0d6cca290
rev   line source
erjo@11890 1 # SliTaz package receipt.
erjo@11890 2
erjo@11890 3 PACKAGE="c_icap"
erjo@11890 4 VERSION="0.1.7"
erjo@11890 5 CATEGORY="network"
erjo@11890 6 SHORT_DESC="Implementation of an ICAP server."
erjo@11890 7 MAINTAINER="erjo@slitaz.org"
erjo@11890 8 WEB_SITE="http://c-icap.sourceforge.net/"
erjo@11890 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11890 10 WGET_URL="$SF_MIRROR/c-icap/$TARBALL"
erjo@11890 11
erjo@11890 12 DEPENDS=""
erjo@11890 13 BUILD_DEPENDS=""
erjo@11890 14
erjo@11890 15 # Rules to configure and make the package.
erjo@11890 16 compile_rules()
erjo@11890 17 {
erjo@11890 18 ./configure --sysconfdir=/etc/c-icap \
erjo@11890 19 --enable-large-files \
erjo@11890 20 $CONFIGURE_ARGS && make && make install
erjo@11890 21 }
erjo@11890 22
erjo@11890 23 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11890 24 genpkg_rules()
erjo@11890 25 {
erjo@11890 26 mkdir -p $fs/usr/lib/$PACKAGE
erjo@11890 27
erjo@11890 28 cp -a $install/usr/bin $fs/usr
erjo@11890 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@11890 30 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
erjo@11890 31
erjo@11890 32 cp -pa $install/etc $fs/
erjo@11890 33
erjo@11890 34 # Cleanup
erjo@11890 35 rm -f $fs/usr/bin/c-icap-config
erjo@11890 36 }