wok diff vanessa_socket/receipt @ rev 2649
Add awstats
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 18 00:21:48 2009 +0200 (2009-04-18) |
parents | |
children | 1c48f84ec25e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vanessa_socket/receipt Sat Apr 18 00:21:48 2009 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vanessa_socket" 1.7 +VERSION="0.0.7" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Simplifies TCP/IP socket operations." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.vergenet.net/linux/vanessa" 1.13 +WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" 1.14 +DEPENDS="vanessa_logger popt" 1.15 +BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 + for i in $(cd $WOK; ls -d vanessa_socket-*) 1.34 + do 1.35 + tazwok cook $i 1.36 + done 1.37 +} 1.38 +