wok annotate libnet/receipt @ rev 14716
lib[o-r]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 11:09:32 2013 +0200 (2013-06-11) |
parents | 4b2399704a7f |
children | 8d6f480bf664 |
rev | line source |
---|---|
slaxemulator@7179 | 1 # SliTaz package receipt. |
slaxemulator@7179 | 2 |
slaxemulator@7179 | 3 PACKAGE="libnet" |
samuel_trassare@14140 | 4 VERSION="1.1.6" |
slaxemulator@7179 | 5 CATEGORY="network" |
slaxemulator@7179 | 6 SHORT_DESC="A library which provides API for commonly used low-level net functions." |
slaxemulator@7179 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7179 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7179 | 9 WEB_SITE="http://sourceforge.net/projects/libnet-dev/" |
slaxemulator@7179 | 10 WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" |
slaxemulator@7179 | 11 |
slaxemulator@7179 | 12 # Rules to configure and make the package. |
slaxemulator@7179 | 13 compile_rules() |
slaxemulator@7179 | 14 { |
slaxemulator@7179 | 15 ./configure \ |
slaxemulator@7179 | 16 --prefix=/usr \ |
slaxemulator@7179 | 17 --infodir=/usr/share/info \ |
slaxemulator@7179 | 18 --mandir=/usr/share/man \ |
slaxemulator@7179 | 19 $CONFIGURE_ARGS && |
samuel_trassare@14140 | 20 make && make DESTDIR=$DESTDIR install |
slaxemulator@7179 | 21 } |
slaxemulator@7179 | 22 |
slaxemulator@7179 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7179 | 24 genpkg_rules() |
slaxemulator@7179 | 25 { |
slaxemulator@7179 | 26 mkdir -p $fs/usr/lib |
samuel_trassare@14140 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7179 | 28 } |
slaxemulator@7179 | 29 |