wok-current annotate libdnet/receipt @ rev 8476
Fixed some receipts that used PACKAGE-VERSION installed of src.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 18:38:32 2011 +0000 (2011-02-07) |
parents | |
children | 6c3718ca17b6 |
rev | line source |
---|---|
slaxemulator@6607 | 1 # SliTaz package receipt. |
slaxemulator@6607 | 2 |
slaxemulator@6607 | 3 PACKAGE="libdnet" |
slaxemulator@6607 | 4 VERSION="1.12" |
slaxemulator@6607 | 5 CATEGORY="network" |
slaxemulator@6607 | 6 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines" |
slaxemulator@6607 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6607 | 8 DEPENDS="python" |
slaxemulator@6607 | 9 BUILD_DEPENDS="python python-dev" |
slaxemulator@6607 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6607 | 11 WEB_SITE="http://code.google.com/p/libdnet/" |
slaxemulator@6607 | 12 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL" |
slaxemulator@6607 | 13 |
slaxemulator@6607 | 14 # Rules to configure and make the package. |
slaxemulator@6607 | 15 compile_rules() |
slaxemulator@6607 | 16 { |
slaxemulator@6607 | 17 cd $src |
slaxemulator@6607 | 18 ./configure \ |
slaxemulator@6607 | 19 --prefix=/usr \ |
slaxemulator@6607 | 20 --infodir=/usr/share/info \ |
slaxemulator@6607 | 21 --mandir=/usr/share/man \ |
slaxemulator@6607 | 22 $CONFIGURE_ARGS && |
slaxemulator@6607 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6607 | 24 } |
slaxemulator@6607 | 25 |
slaxemulator@6607 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6607 | 27 genpkg_rules() |
slaxemulator@6607 | 28 { |
slaxemulator@6607 | 29 mkdir -p $fs/usr/lib |
slaxemulator@6607 | 30 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@6607 | 31 cp -a $_pkg/usr/lib/libdnet $fs/usr/lib |
slaxemulator@6607 | 32 cp -a $_pkg/usr/lib/*.1* $fs/usr/lib |
slaxemulator@6607 | 33 } |
slaxemulator@6607 | 34 |