wok-6.x annotate rpcbind/receipt @ rev 19488

Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 13:09:26 2016 +0200 (2016-11-12)
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 }