wok annotate vanessa_socket/receipt @ rev 15363
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 03 09:52:57 2013 +0000 (2013-10-03) |
parents | 1c48f84ec25e |
children | 67f5b3bae0a8 |
rev | line source |
---|---|
pascal@1215 | 1 # SliTaz package receipt. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_socket" |
pascal@1215 | 4 VERSION="0.0.7" |
pascal@1215 | 5 CATEGORY="network" |
pascal@1215 | 6 SHORT_DESC="Simplifies TCP/IP socket operations." |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
pascal@1215 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1215 | 10 WEB_SITE="http://www.vergenet.net/linux/vanessa" |
pascal@1215 | 11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@15363 | 12 |
pascal@1215 | 13 DEPENDS="vanessa_logger popt" |
pascal@1215 | 14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev" |
pascal@1215 | 15 |
pascal@1215 | 16 # Rules to configure and make the package. |
pascal@1215 | 17 compile_rules() |
pascal@1215 | 18 { |
pascal@1215 | 19 cd $src |
pascal@1215 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1215 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1215 | 22 make |
pascal@15363 | 23 make DESTDIR=$DESTDIR install |
pascal@1215 | 24 } |
pascal@1215 | 25 |
pascal@1215 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1215 | 27 genpkg_rules() |
pascal@1215 | 28 { |
pascal@1215 | 29 mkdir -p $fs/usr/lib |
pascal@15363 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15363 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1215 | 32 } |
pascal@1215 | 33 |