wok-next view libffi/receipt @ rev 20224
Up inkscape and it's deps:
gtest, imagemagick, imagemagick6;
add libcdr, librevenge, libvisio, libwpd, libwpg, potrace.
gtest, imagemagick, imagemagick6;
add libcdr, librevenge, libvisio, libwpd, libwpg, potrace.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 05 18:29:48 2017 +0200 (2017-11-05) |
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 }