wok-current annotate libtirpc/receipt @ rev 24980

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 09:19:55 2022 +0000 (2022-05-08)
parents 65d7d867e0c1
children ec9531d04de1
rev   line source
pascal@6249 1 # SliTaz package receipt.
pascal@6249 2
pascal@6249 3 PACKAGE="libtirpc"
Hans-G?nter@24838 4 VERSION="1.3.2"
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@24838 31 make &&
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 {
Hans-G?nter@24838 38 cook_copy_folders etc
Hans-G?nter@24838 39 cook_copy_files *.so*
pascal@6249 40 }