wok-next diff libffi/receipt @ rev 19665
cookutils: up 892
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 17 15:07:45 2017 +0200 (2017-03-17) |
parents | 51b3e2d10e16 |
children | 8cad5edc1a45 |
line diff
1.1 --- a/libffi/receipt Fri Jul 11 10:11:07 2014 +0300 1.2 +++ b/libffi/receipt Fri Mar 17 15:07:45 2017 +0200 1.3 @@ -1,30 +1,36 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libffi" 1.7 -VERSION="3.1" 1.8 +VERSION="3.2.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A portable foreign function interface library." 1.11 MAINTAINER="rcx@zoominternet.net" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://sourceware.org/libffi/" 1.14 +HOST_ARCH="i486 arm" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://sourceware.org/libffi/" 1.18 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" 1.19 -HOST_ARCH="i486 arm" 1.20 1.21 DEPENDS="glibc-base" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 + sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ 1.27 + -i include/Makefile.in 1.28 + sed -e '/^includedir/ s/=.*$/=@includedir@/' \ 1.29 + -e 's/^Cflags: -I${includedir}/Cflags:/' \ 1.30 + -i libffi.pc.in 1.31 + 1.32 ./configure \ 1.33 - --includedir=/usr/include \ 1.34 + --disable-static \ 1.35 $CONFIGURE_ARGS && 1.36 - make && make DESTDIR=$DESTDIR install 1.37 + make && make install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr/lib 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 + cook_copy_files *.so* 1.46 }