wok-next view rpcbind/receipt @ rev 20170

firefox: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 20:21:41 2017 +0100 (2017-11-01)
parents ac2ee8823dfa
children c4e53a39395a
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 }