wok-next annotate libffi/receipt @ rev 16270
Add: prelink (20130503)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Apr 05 20:34:28 2014 +0000 (2014-04-05) |
parents | b586b25939cf |
children | 51b3e2d10e16 |
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" |
pascal@15473 | 8 LICENSE="MIT" |
rcx@3261 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3261 | 10 WEB_SITE="http://sourceware.org/libffi/" |
rcx@3261 | 11 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" |
pankso@12825 | 12 HOST_ARCH="i486 arm" |
pankso@12825 | 13 |
pankso@12825 | 14 DEPENDS="glibc-base" |
rcx@3261 | 15 |
rcx@3261 | 16 # Rules to configure and make the package. |
rcx@3261 | 17 compile_rules() |
rcx@3261 | 18 { |
rcx@3261 | 19 cd $src |
rcx@3261 | 20 ./configure \ |
rcx@3262 | 21 --includedir=/usr/include \ |
rcx@3261 | 22 $CONFIGURE_ARGS && |
pankso@12917 | 23 make && make DESTDIR=$DESTDIR install |
rcx@3261 | 24 } |
rcx@3261 | 25 |
rcx@3261 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3261 | 27 genpkg_rules() |
rcx@3261 | 28 { |
rcx@3261 | 29 mkdir -p $fs/usr/lib |
pankso@12825 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
rcx@3261 | 31 } |