wok view libffi/receipt @ rev 12922
Up: clex and cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 20:31:27 2012 +0000 (2012-05-29) |
parents | 082d59f85261 |
children | b586b25939cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.0.11"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceware.org/libffi/"
10 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glibc-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --includedir=/usr/include \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # Create symlink to libffi.so.4
31 cd $fs/usr/lib
32 ln -sf libffi.so.5.0.10 libffi.so.4
33 }