wok annotate libffcall/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 71360a13cd94
children d79ed38ace18
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@24336 21 wget -O - ${WGET_URL%/*} 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 }