wok-6.x annotate libdnet/receipt @ rev 14645
git: typo /var/ww/git
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 03 01:58:03 2013 +0000 (2013-06-03) |
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 |