wok-next annotate libnet/receipt @ rev 10564
imagemagick: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:48:48 2011 +0200 (2011-05-25) |
parents | 0cca1e2a1203 |
children | d23ba35ad58b |
rev | line source |
---|---|
slaxemulator@7179 | 1 # SliTaz package receipt. |
slaxemulator@7179 | 2 |
slaxemulator@7179 | 3 PACKAGE="libnet" |
gokhlayeh@8609 | 4 VERSION="1.1.5" |
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 cd $src |
slaxemulator@7179 | 16 ./configure \ |
slaxemulator@7179 | 17 --prefix=/usr \ |
slaxemulator@7179 | 18 --infodir=/usr/share/info \ |
slaxemulator@7179 | 19 --mandir=/usr/share/man \ |
slaxemulator@7179 | 20 $CONFIGURE_ARGS && |
slaxemulator@7179 | 21 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7179 | 22 } |
slaxemulator@7179 | 23 |
slaxemulator@7179 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7179 | 25 genpkg_rules() |
slaxemulator@7179 | 26 { |
slaxemulator@7179 | 27 mkdir -p $fs/usr/lib |
slaxemulator@7179 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7179 | 29 } |
slaxemulator@7179 | 30 |