wok-next annotate libffi/receipt @ rev 14881
Up ManaPlus
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Wed Jul 24 14:51:05 2013 +0200 (2013-07-24) |
parents | f496cfe6464a |
children | 8f447cf2eee5 |
rev | line source |
---|---|
rcx@3261 | 1 # SliTaz package receipt. |
rcx@3261 | 2 |
rcx@3261 | 3 PACKAGE="libffi" |
pankso@12917 | 4 VERSION="3.0.11" |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3261 | 9 WEB_SITE="http://sourceware.org/libffi/" |
rcx@3261 | 10 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" |
pankso@12825 | 11 HOST_ARCH="i486 arm" |
pankso@12825 | 12 |
pankso@12825 | 13 DEPENDS="glibc-base" |
rcx@3261 | 14 |
rcx@3261 | 15 # Rules to configure and make the package. |
rcx@3261 | 16 compile_rules() |
rcx@3261 | 17 { |
rcx@3261 | 18 cd $src |
rcx@3261 | 19 ./configure \ |
rcx@3262 | 20 --includedir=/usr/include \ |
rcx@3261 | 21 $CONFIGURE_ARGS && |
pankso@12917 | 22 make && make DESTDIR=$DESTDIR install |
rcx@3261 | 23 } |
rcx@3261 | 24 |
rcx@3261 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3261 | 26 genpkg_rules() |
rcx@3261 | 27 { |
rcx@3261 | 28 mkdir -p $fs/usr/lib |
pankso@12825 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
rcx@3261 | 30 } |