wok-current annotate libtirpc/receipt @ rev 24411
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 09 17:57:59 2022 +0000 (2022-02-09) |
parents | ce958cbd9cf3 |
children | 328ae9a03407 |
rev | line source |
---|---|
pascal@6249 | 1 # SliTaz package receipt. |
pascal@6249 | 2 |
pascal@6249 | 3 PACKAGE="libtirpc" |
Hans-G?nter@23109 | 4 VERSION="1.2.5" |
pascal@6249 | 5 CATEGORY="system-tools" |
pascal@6249 | 6 SHORT_DESC="Transport-Independent RPC library." |
pascal@6249 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
Hans-G?nter@21318 | 9 WEB_SITE="https://sourceforge.net/projects/libtirpc/" |
Hans-G?nter@21318 | 10 |
pascal@6249 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6249 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21318 | 13 |
pankso@16236 | 14 HOST_ARCH="i486 arm" |
pascal@6249 | 15 |
pascal@24411 | 16 # What is the latest version available today? |
pascal@24411 | 17 current_version() |
pascal@24411 | 18 { |
pascal@24411 | 19 wget -O - https://sourceforge.net/projects/libtirpc/files/libtirpc/ 2>/dev/null | \ |
pascal@24411 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/libtirpc/||;s|/.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
pascal@6249 | 24 # Rules to configure and make the package. |
pascal@6249 | 25 compile_rules() |
pascal@6249 | 26 { |
Hans-G?nter@21318 | 27 ./configure \ |
Hans-G?nter@21318 | 28 sysconfdir=/etc \ |
Hans-G?nter@21318 | 29 --disable-gssapi \ |
Hans-G?nter@21318 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21318 | 31 make -j 1 && |
Hans-G?nter@21318 | 32 make install |
pascal@6249 | 33 } |
pascal@6249 | 34 |
pascal@6249 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6249 | 36 genpkg_rules() |
pascal@6249 | 37 { |
pascal@6249 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21318 | 39 |
Hans-G?nter@21318 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21318 | 41 cp -a $install/etc $fs |
pascal@6249 | 42 } |