wok-6.x 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 | 05a5fe342712 |
children | a8ecfee4e626 |
files | c_icap-dev/receipt c_icap/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/c_icap-dev/receipt Tue Feb 28 22:00:15 2012 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="c_icap-dev" 1.7 +VERSION="0.1.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Implementation of an ICAP server." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://c-icap.sourceforge.net/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WANTED="c_icap" 1.14 + 1.15 +DEPENDS="c_icap" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/lib/c_icap \ 1.22 + $fs/usr/bin 1.23 + 1.24 + cp -a $install/usr/bin/c-icap-config $fs/usr/bin 1.25 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.26 + cp -a $install/usr/lib/c_icap/*.*a $fs/usr/lib/c_icap 1.27 + cp -a $install/usr/include $fs/usr 1.28 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/c_icap/receipt Tue Feb 28 22:00:15 2012 +0100 2.3 @@ -0,0 +1,36 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="c_icap" 2.7 +VERSION="0.1.7" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Implementation of an ICAP server." 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +WEB_SITE="http://c-icap.sourceforge.net/" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WGET_URL="$SF_MIRROR/c-icap/$TARBALL" 2.14 + 2.15 +DEPENDS="" 2.16 +BUILD_DEPENDS="" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./configure --sysconfdir=/etc/c-icap \ 2.22 + --enable-large-files \ 2.23 + $CONFIGURE_ARGS && make && make install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/lib/$PACKAGE 2.30 + 2.31 + cp -a $install/usr/bin $fs/usr 2.32 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.33 + cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 2.34 + 2.35 + cp -pa $install/etc $fs/ 2.36 + 2.37 + # Cleanup 2.38 + rm -f $fs/usr/bin/c-icap-config 2.39 +}