wok annotate libdnet/receipt @ rev 15915
Up: slitaz-boot-scripts
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 20:15:30 2014 +0100 (2014-02-15) |
parents | 231408e11c7e |
children | eeba7ab1dffe |
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" |
pascal@15472 | 8 LICENSE="BSD" |
slaxemulator@6607 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6607 | 10 WEB_SITE="http://code.google.com/p/libdnet/" |
slaxemulator@6607 | 11 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL" |
slaxemulator@6607 | 12 |
pascal@15472 | 13 DEPENDS="python" |
pascal@15472 | 14 BUILD_DEPENDS="python python-dev" |
pascal@15472 | 15 |
slaxemulator@6607 | 16 # Rules to configure and make the package. |
slaxemulator@6607 | 17 compile_rules() |
slaxemulator@6607 | 18 { |
slaxemulator@6607 | 19 cd $src |
slaxemulator@6607 | 20 ./configure \ |
slaxemulator@6607 | 21 --prefix=/usr \ |
slaxemulator@6607 | 22 --infodir=/usr/share/info \ |
slaxemulator@6607 | 23 --mandir=/usr/share/man \ |
slaxemulator@6607 | 24 $CONFIGURE_ARGS && |
pascal@15472 | 25 make && make DESTDIR=$DESTDIR install |
slaxemulator@6607 | 26 } |
slaxemulator@6607 | 27 |
slaxemulator@6607 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6607 | 29 genpkg_rules() |
slaxemulator@6607 | 30 { |
slaxemulator@6607 | 31 mkdir -p $fs/usr/lib |
pascal@15472 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15472 | 33 cp -a $install/usr/lib/libdnet $fs/usr/lib |
pascal@15472 | 34 cp -a $install/usr/lib/*.1* $fs/usr/lib |
slaxemulator@6607 | 35 } |
slaxemulator@6607 | 36 |