wok view libffi/receipt @ rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents a4e0ca27c317
children 7186c6ae9ee7
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.3"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 WEB_SITE="https://sourceware.org/libffi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --includedir=/usr/include \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }