wok annotate rpcbind/receipt @ rev 11612
nanochess: catch ?black arg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 15:34:54 2012 +0100 (2012-01-21) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
pascal@6257 | 1 # SliTaz package receipt. |
pascal@6257 | 2 |
pascal@6257 | 3 PACKAGE="rpcbind" |
pascal@6257 | 4 VERSION="0.2.0" |
pascal@6257 | 5 CATEGORY="network" |
pascal@6257 | 6 SHORT_DESC="RPC program numbers to universal addresses converter." |
pascal@6257 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@6257 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6257 | 9 WEB_SITE="http://rpcbind.sourceforge.net/" |
pascal@6257 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6257 | 11 DEPENDS="libtirpc" |
pascal@6257 | 12 BUILD_DEPENDS="libtirpc-dev" |
pascal@6257 | 13 |
pascal@6257 | 14 # Rules to configure and make the package. |
pascal@6257 | 15 compile_rules() |
pascal@6257 | 16 { |
pascal@6257 | 17 cd $src |
pascal@6257 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6257 | 19 --mandir=/usr/share/man \ |
pascal@6257 | 20 $CONFIGURE_ARGS && |
pascal@6257 | 21 make && |
pascal@6257 | 22 make DESTDIR=$PWD/_pkg install |
pascal@6257 | 23 } |
pascal@6257 | 24 |
pascal@6257 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6257 | 26 genpkg_rules() |
pascal@6257 | 27 { |
pascal@6257 | 28 mkdir -p $fs/usr |
pascal@6257 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@6257 | 30 } |