wok-4.x view libffi/receipt @ rev 11937

pcmanfm: removed unnecessary copy operation
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 21:23:45 2012 -0800 (2012-02-29)
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 }