wok-6.x annotate vanessa_socket/receipt @ rev 20277
linux: add igb.ko
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 19 15:16:28 2018 +0100 (2018-03-19) |
parents | 67f5b3bae0a8 |
children | 8c1e8618de66 |
rev | line source |
---|---|
pascal@1215 | 1 # SliTaz package receipt. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_socket" |
pascal@18804 | 4 VERSION="0.0.12" |
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@18805 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@18804 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1215 | 21 make |
pascal@15363 | 22 make DESTDIR=$DESTDIR install |
pascal@1215 | 23 } |
pascal@1215 | 24 |
pascal@1215 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1215 | 26 genpkg_rules() |
pascal@1215 | 27 { |
pascal@1215 | 28 mkdir -p $fs/usr/lib |
pascal@15363 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15363 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1215 | 31 } |