wok view libffi/receipt @ rev 3886
perdition: ensure pidfile are valid
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 12 18:13:06 2009 +0200 (2009-08-12) |
parents | 73d44cf30650 |
children | 5325e8430795 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.0.8"
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
33 }