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

Add xsuspend (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 25 18:01:09 2022 +0000 (2022-01-25)
parents 17e313b5b9c1
children e919c5a2742d
line source
1 # SliTaz package receipt.
3 PACKAGE="rpcbind"
4 VERSION="1.2.5"
5 CATEGORY="network"
6 SHORT_DESC="RPC program numbers to universal addresses converter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/rpcbind/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libtirpc"
15 BUILD_DEPENDS="libtirpc-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include/tirpc" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --with-systemdsystemunitdir=no \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }