# HG changeset patch # User Eric Joseph-Alexandre # Date 1330462815 -3600 # Node ID 055d964cbc4ca88f0c460468216dfdb3f0666adc # Parent 05a5fe342712266ab286623d010875526387c9da Add: c_icap* diff -r 05a5fe342712 -r 055d964cbc4c c_icap-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c_icap-dev/receipt Tue Feb 28 22:00:15 2012 +0100 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="c_icap-dev" +VERSION="0.1.7" +CATEGORY="development" +SHORT_DESC="Implementation of an ICAP server." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://c-icap.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WANTED="c_icap" + +DEPENDS="c_icap" +BUILD_DEPENDS="" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/c_icap \ + $fs/usr/bin + + cp -a $install/usr/bin/c-icap-config $fs/usr/bin + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/c_icap/*.*a $fs/usr/lib/c_icap + cp -a $install/usr/include $fs/usr +} diff -r 05a5fe342712 -r 055d964cbc4c c_icap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c_icap/receipt Tue Feb 28 22:00:15 2012 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="c_icap" +VERSION="0.1.7" +CATEGORY="network" +SHORT_DESC="Implementation of an ICAP server." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://c-icap.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/c-icap/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --sysconfdir=/etc/c-icap \ + --enable-large-files \ + $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/$PACKAGE + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE + + cp -pa $install/etc $fs/ + + # Cleanup + rm -f $fs/usr/bin/c-icap-config +}