wok-current annotate rpcbind/receipt @ rev 23824
Up openssh (8.3p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 13:18:28 2020 +0000 (2020-05-28) |
parents | 17e313b5b9c1 |
children | e919c5a2742d |
rev | line source |
---|---|
pascal@6257 | 1 # SliTaz package receipt. |
pascal@6257 | 2 |
pascal@6257 | 3 PACKAGE="rpcbind" |
Hans-G?nter@23616 | 4 VERSION="1.2.5" |
pascal@6257 | 5 CATEGORY="network" |
pascal@6257 | 6 SHORT_DESC="RPC program numbers to universal addresses converter." |
pascal@6257 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
Hans-G?nter@23616 | 9 WEB_SITE="https://sourceforge.net/projects/rpcbind/" |
Hans-G?nter@23616 | 10 |
pascal@6257 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6257 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16236 | 13 |
pascal@6257 | 14 DEPENDS="libtirpc" |
pascal@6257 | 15 BUILD_DEPENDS="libtirpc-dev" |
pascal@6257 | 16 |
Hans-G?nter@23616 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@23616 | 18 |
pankso@16236 | 19 # Handle cross compilation. |
pankso@16236 | 20 case "$ARCH" in |
pascal@17670 | 21 arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include/tirpc" ;; |
pankso@16236 | 22 esac |
pankso@16236 | 23 |
pascal@6257 | 24 # Rules to configure and make the package. |
pascal@6257 | 25 compile_rules() |
pascal@6257 | 26 { |
Hans-G?nter@23616 | 27 ./configure \ |
Hans-G?nter@23616 | 28 --with-systemdsystemunitdir=no \ |
pankso@16236 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@23616 | 30 make && |
Hans-G?nter@23616 | 31 make install |
pascal@6257 | 32 } |
pascal@6257 | 33 |
pascal@6257 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6257 | 35 genpkg_rules() |
pascal@6257 | 36 { |
pascal@6257 | 37 mkdir -p $fs/usr |
Hans-G?nter@23616 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23616 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@6257 | 40 } |