wok-next view libffi/receipt @ rev 16974
some fixes to previous commits
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Aug 05 15:58:00 2014 +0200 (2014-08-05) |
parents | 8f447cf2eee5 |
children | 35a20e111081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.1"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceware.org/libffi/"
11 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --includedir=/usr/include \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }