wok-next view libffi/receipt @ rev 19816
gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 27 00:56:44 2017 +0300 (2017-07-27) |
parents | 35a20e111081 |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
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 SPLIT="libffi-dev"
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 case $PACKAGE in
36 libffi) copy @std;;
37 *-dev) copy @dev;;
38 esac
39 }