wok-next view libffi/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 51b3e2d10e16
children 8cad5edc1a45
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
15 DEPENDS="glibc-base"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
21 -i include/Makefile.in
22 sed -e '/^includedir/ s/=.*$/=@includedir@/' \
23 -e 's/^Cflags: -I${includedir}/Cflags:/' \
24 -i libffi.pc.in
26 ./configure \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }