wok view vanessa_socket/receipt @ rev 5782

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:19:46 2010 +0200 (2010-07-10)
parents
children 1c48f84ec25e
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_socket"
4 VERSION="0.0.7"
5 CATEGORY="network"
6 SHORT_DESC="Simplifies TCP/IP socket operations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.vergenet.net/linux/vanessa"
10 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
11 DEPENDS="vanessa_logger popt"
12 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 for i in $(cd $WOK; ls -d vanessa_socket-*)
31 do
32 tazwok cook $i
33 done
34 }