wok-6.x view rpcbind/receipt @ rev 19158

mesa*: fix build
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed May 25 23:07:05 2016 +0200 (2016-05-25)
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 }