wok view libffi/receipt @ rev 3727

Update: xorg-dev (DEPENDS)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jul 21 21:05:32 2009 +0000 (2009-07-21)
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 }