wok-current view rpcbind/receipt @ rev 17874

eom: hide false positive
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 27 08:44:41 2015 +0100 (2015-03-27)
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 }