wok-6.x annotate rpcbind/receipt @ rev 18839
Up slitaz-tools (963)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 21 23:15:39 2016 +0100 (2016-01-21) |
parents | ac2ee8823dfa |
children | 3f7f548986f7 |
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@15601 | 8 LICENSE="BSD" |
pascal@6257 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6257 | 10 WEB_SITE="http://rpcbind.sourceforge.net/" |
pascal@6257 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16236 | 12 HOST_ARCH="i486 arm" |
pankso@16236 | 13 |
pascal@6257 | 14 DEPENDS="libtirpc" |
pascal@6257 | 15 BUILD_DEPENDS="libtirpc-dev" |
pascal@6257 | 16 |
pankso@16236 | 17 # Handle cross compilation. |
pankso@16236 | 18 case "$ARCH" in |
pascal@17670 | 19 arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include/tirpc" ;; |
pankso@16236 | 20 esac |
pankso@16236 | 21 |
pascal@6257 | 22 # Rules to configure and make the package. |
pascal@6257 | 23 compile_rules() |
pascal@6257 | 24 { |
pankso@16236 | 25 ./configure \ |
pankso@16236 | 26 $CONFIGURE_ARGS && |
pankso@16236 | 27 make && make install |
pascal@6257 | 28 } |
pascal@6257 | 29 |
pascal@6257 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6257 | 31 genpkg_rules() |
pascal@6257 | 32 { |
pascal@6257 | 33 mkdir -p $fs/usr |
pascal@15601 | 34 cp -a $install/usr/bin $fs/usr |
pascal@6257 | 35 } |