wok-current view rpcbind/receipt @ rev 24087

Up tazlito (531)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 11:04:20 2021 +0000 (2021-07-11)
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 }