wok annotate rpcbind/receipt @ rev 25559
updated xfce4-ristretto 0.6.3 -> 0.8.5
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 25 15:16:20 2023 +0100 (18 months ago) |
parents | ad0bc3efbf37 |
children | 29df00e1e19d |
rev | line source |
---|---|
pascal@6257 | 1 # SliTaz package receipt. |
pascal@6257 | 2 |
pascal@6257 | 3 PACKAGE="rpcbind" |
Hans-G?nter@25285 | 4 VERSION="1.2.6" |
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" |
pascal@25510 | 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@24348 | 24 # What is the latest version available today? |
pascal@24348 | 25 current_version() |
pascal@24348 | 26 { |
pascal@24348 | 27 wget -O - https://sourceforge.net/projects/rpcbind/files/rpcbind/ 2>/dev/null | \ |
pascal@24348 | 28 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 29 sed '/scope="row/!d;s|.*/rpcbind/||;s|/.*||;q' |
pascal@24348 | 30 } |
pascal@24348 | 31 |
pascal@6257 | 32 # Rules to configure and make the package. |
pascal@6257 | 33 compile_rules() |
pascal@6257 | 34 { |
Hans-G?nter@23616 | 35 ./configure \ |
Hans-G?nter@23616 | 36 --with-systemdsystemunitdir=no \ |
pankso@16236 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@23616 | 38 make && |
Hans-G?nter@23616 | 39 make install |
pascal@6257 | 40 } |
pascal@6257 | 41 |
pascal@6257 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6257 | 43 genpkg_rules() |
pascal@6257 | 44 { |
Hans-G?nter@25285 | 45 cook_copy_folders bin |
Hans-G?nter@25285 | 46 cook_copy_folders sbin |
pascal@6257 | 47 } |