wok-current view rpcbind/receipt @ rev 17247

Add gringotts
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:40:30 2014 +0200 (2014-10-19)
parents 23c3aed67cd9
children 17e313b5b9c1
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="-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 }