wok-stable view libffi/receipt @ rev 12204
up tazpanel 1.5.1
author | Christian Mesh meshca@clarkson.edu |
---|---|
date | Wed Mar 28 13:06:14 2012 -0500 (2012-03-28) |
parents | 5325e8430795 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.0.10"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceware.org/libffi/"
11 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --includedir=/usr/include \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/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 }