wok annotate libffcall/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents 83c8ab789fc1
children
rev   line source
paul@4579 1 # SliTaz package receipt.
paul@4579 2
paul@4579 3 PACKAGE="libffcall"
Hans-G?nter@24742 4 VERSION="2.4"
paul@4579 5 CATEGORY="development"
paul@4579 6 SHORT_DESC="Foreign function call libraries."
paul@4579 7 MAINTAINER="paul@slitaz.org"
pascal@15472 8 LICENSE="GPL2"
Hans-G?nter@21222 9 WEB_SITE="https://www.gnu.org/software/libffcall/"
Hans-G?nter@24742 10 REPOLOGY="ffcall"
Hans-G?nter@21222 11
Hans-G?nter@21222 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21222 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@9767 14
paul@4579 15 DEPENDS=""
Hans-G?nter@21222 16 BUILD_DEPENDS=""
paul@4579 17
pascal@24336 18 # What is the latest version available today?
pascal@24336 19 current_version()
pascal@24336 20 {
pascal@25609 21 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
pascal@24336 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 23 }
pascal@24336 24
paul@4579 25 # Rules to configure and make the package.
paul@4579 26 compile_rules()
paul@4579 27 {
gokhlayeh@11573 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24742 29 make &&
Hans-G?nter@21222 30 make install
paul@4579 31 }
paul@4579 32
paul@4579 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4579 34 genpkg_rules()
paul@4579 35 {
Hans-G?nter@24742 36 cook_copy_folders include
Hans-G?nter@24742 37 cook_copy_folders lib
paul@4579 38 }