wok view libffi/receipt @ rev 11625
Up: git to 1.7.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 29 16:31:42 2012 -0500 (2012-01-29) |
parents | 5325e8430795 |
children | 082d59f85261 |
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 }