wok annotate libffi/receipt @ rev 12917
Up: libffi (3.0.11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 19:36:22 2012 +0000 (2012-05-29) |
parents | 082d59f85261 |
children | b586b25939cf |
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 |
pankso@12825 | 30 # Create symlink to libffi.so.4 |
paul@4749 | 31 cd $fs/usr/lib |
slaxemulator@10984 | 32 ln -sf libffi.so.5.0.10 libffi.so.4 |
rcx@3261 | 33 } |