wok-6.x view libffi/receipt @ rev 22838
modified get-linuxqq
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 11 09:52:23 2020 +0100 (2020-02-11) |
parents | 51b3e2d10e16 |
children | a4e0ca27c317 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.2.1"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --includedir=/usr/include \
23 $CONFIGURE_ARGS &&
24 make -j 1 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }