wok-current view libffi/receipt @ rev 3261
Add: libffi
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jun 01 10:45:43 2009 +0000 (2009-06-01) |
parents | |
children | 081813d3a553 |
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/share/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 }