wok annotate libffi/receipt @ rev 17431

Up tazinst (3.96)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 06 10:15:00 2014 +0100 (2014-12-06)
parents 8f447cf2eee5
children 9480f04fa684
rev   line source
rcx@3261 1 # SliTaz package receipt.
rcx@3261 2
rcx@3261 3 PACKAGE="libffi"
al@16818 4 VERSION="3.1"
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 ./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 }