wok-current annotate libffcall/receipt @ rev 24539
updated fbgrab (1.3 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:32:13 2022 +0100 (2022-02-23) |
parents | da11ee0756b7 |
children | 83c8ab789fc1 |
rev | line source |
---|---|
paul@4579 | 1 # SliTaz package receipt. |
paul@4579 | 2 |
paul@4579 | 3 PACKAGE="libffcall" |
Hans-G?nter@23028 | 4 VERSION="2.2" |
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@21222 | 10 |
Hans-G?nter@21222 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21222 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9767 | 13 |
paul@4579 | 14 DEPENDS="" |
Hans-G?nter@21222 | 15 BUILD_DEPENDS="" |
paul@4579 | 16 |
pascal@24336 | 17 # What is the latest version available today? |
pascal@24336 | 18 current_version() |
pascal@24336 | 19 { |
pascal@24336 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 22 } |
pascal@24336 | 23 |
paul@4579 | 24 # Rules to configure and make the package. |
paul@4579 | 25 compile_rules() |
paul@4579 | 26 { |
gokhlayeh@11573 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21222 | 28 make -j1 && |
Hans-G?nter@21222 | 29 make install |
paul@4579 | 30 } |
paul@4579 | 31 |
paul@4579 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4579 | 33 genpkg_rules() |
paul@4579 | 34 { |
paul@4579 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@21222 | 36 |
Hans-G?nter@23028 | 37 cp -a $install/usr/include $fs/usr |
Hans-G?nter@21222 | 38 cp -a $install/usr/lib $fs/usr |
paul@4579 | 39 } |