wok view libffi/receipt @ rev 5886

privoxy: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 21 16:47:50 2010 +0200 (2010-07-21)
parents 081813d3a553
children 44e73ecc5e31
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.0.9"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceware.org/libffi/"
12 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --includedir=/usr/include \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 # create symlink to libffi.so.4
35 cd $fs/usr/lib
36 ln -s libffi.so.5.0.10 libffi.so.4
37 }