wok-stable view vanessa_socket/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
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 }