wok view rpcbind/receipt @ rev 19617

Up SliTaz projects: cookutils(863), slitaz-base-files(319), slitaz-boot-scripts(436), slitaz-configs(299), slitaz-tools(1008), ssfs(108), tazbug(94), tazinst(86), tazirc(18), tazlito(445), tazpanel(610), tazpkg(932), tazusb(194), tazweb(174).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 14:28:40 2017 +0200 (2017-01-10)
parents ac2ee8823dfa
children 3f7f548986f7
line source
1 # SliTaz package receipt.
3 PACKAGE="rpcbind"
4 VERSION="0.2.0"
5 CATEGORY="network"
6 SHORT_DESC="RPC program numbers to universal addresses converter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://rpcbind.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libtirpc"
15 BUILD_DEPENDS="libtirpc-dev"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include/tirpc" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }