wok annotate libffi/receipt @ rev 11953
Up: slitaz-tools (4.7) - Bug fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 01 16:01:22 2012 +0100 (2012-03-01) |
parents | 5325e8430795 |
children | 082d59f85261 |
rev | line source |
---|---|
rcx@3261 | 1 # SliTaz package receipt. |
rcx@3261 | 2 |
rcx@3261 | 3 PACKAGE="libffi" |
slaxemulator@10984 | 4 VERSION="3.0.10" |
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 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" |
rcx@3261 | 12 |
rcx@3261 | 13 # Rules to configure and make the package. |
rcx@3261 | 14 compile_rules() |
rcx@3261 | 15 { |
rcx@3261 | 16 cd $src |
rcx@3261 | 17 ./configure \ |
rcx@3262 | 18 --includedir=/usr/include \ |
rcx@3261 | 19 $CONFIGURE_ARGS && |
rcx@3261 | 20 make && |
slaxemulator@10984 | 21 make DESTDIR=$DESTDIR install |
rcx@3261 | 22 } |
rcx@3261 | 23 |
rcx@3261 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3261 | 25 genpkg_rules() |
rcx@3261 | 26 { |
rcx@3261 | 27 mkdir -p $fs/usr/lib |
rcx@3261 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@4749 | 29 |
paul@4749 | 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 } |
rcx@3261 | 34 |