wok annotate libffi/receipt @ rev 3973

merge
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 27 11:36:57 2009 +0200 (2009-08-27)
parents 73d44cf30650
children 5325e8430795
rev   line source
rcx@3261 1 # SliTaz package receipt.
rcx@3261 2
rcx@3261 3 PACKAGE="libffi"
rcx@3261 4 VERSION="3.0.8"
rcx@3261 5 CATEGORY="development"
rcx@3261 6 SHORT_DESC="A portable foreign function interface library."
rcx@3261 7 MAINTAINER="rcx@zoominternet.net"
rcx@3261 8 DEPENDS="glibc-base"
rcx@3261 9 BUILD_DEPENDS="slitaz-toolchain"
rcx@3261 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3261 11 WEB_SITE="http://sourceware.org/libffi/"
rcx@3261 12 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
rcx@3261 13
rcx@3261 14 # Rules to configure and make the package.
rcx@3261 15 compile_rules()
rcx@3261 16 {
rcx@3261 17 cd $src
rcx@3261 18 ./configure \
rcx@3261 19 --prefix=/usr \
rcx@3261 20 --infodir=/usr/share/info \
rcx@3261 21 --mandir=/usr/share/man \
rcx@3262 22 --includedir=/usr/include \
rcx@3261 23 $CONFIGURE_ARGS &&
rcx@3261 24 make &&
rcx@3261 25 make DESTDIR=$PWD/_pkg install
rcx@3261 26 }
rcx@3261 27
rcx@3261 28 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3261 29 genpkg_rules()
rcx@3261 30 {
rcx@3261 31 mkdir -p $fs/usr/lib
rcx@3261 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3261 33 }
rcx@3261 34