wok annotate libffi/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (2022-06-06)
parents 3e2a0347b2f1
children
rev   line source
rcx@3261 1 # SliTaz package receipt.
rcx@3261 2
rcx@3261 3 PACKAGE="libffi"
Hans-G?nter@24743 4 VERSION="3.4.2"
rcx@3261 5 CATEGORY="development"
rcx@3261 6 SHORT_DESC="A portable foreign function interface library."
rcx@3261 7 MAINTAINER="rcx@zoominternet.net"
pascal@15473 8 LICENSE="MIT"
Hans-G?nter@21223 9 WEB_SITE="https://sourceware.org/libffi/"
Hans-G?nter@21223 10
rcx@3261 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24743 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pankso@12825 13
pankso@12825 14 DEPENDS="glibc-base"
rcx@3261 15
Hans-G?nter@21223 16 HOST_ARCH="i486 arm"
Hans-G?nter@21223 17
pascal@24074 18 current_version()
pascal@24074 19 {
pascal@24074 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24074 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24074 22 }
pascal@24074 23
rcx@3261 24 # Rules to configure and make the package.
rcx@3261 25 compile_rules()
rcx@3261 26 {
Hans-G?nter@21223 27 ./configure \
Hans-G?nter@21223 28 --includedir=/usr/include \
rcx@3261 29 $CONFIGURE_ARGS &&
Hans-G?nter@24743 30 make &&
Hans-G?nter@24743 31 make install DESTDIR=$DESTDIR
rcx@3261 32 }
rcx@3261 33
rcx@3261 34 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3261 35 genpkg_rules()
rcx@3261 36 {
Hans-G?nter@24743 37 cook_copy_files *.so*
rcx@3261 38 }