wok-stable annotate libffi/receipt @ rev 7607

Up: pcre to 8.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 11 08:45:59 2010 +0000 (2010-12-11)
parents 081813d3a553
children 44e73ecc5e31
rev   line source
rcx@3261 1 # SliTaz package receipt.
rcx@3261 2
rcx@3261 3 PACKAGE="libffi"
paul@4749 4 VERSION="3.0.9"
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
paul@4749 33
paul@4749 34 # create symlink to libffi.so.4
paul@4749 35 cd $fs/usr/lib
paul@4749 36 ln -s libffi.so.5.0.10 libffi.so.4
rcx@3261 37 }
rcx@3261 38