wok-next diff libffi/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 8cad5edc1a45 |
children | 0e7893ac206d |
line diff
1.1 --- a/libffi/receipt Sat Jun 10 21:12:27 2017 +0300 1.2 +++ b/libffi/receipt Fri Dec 08 02:55:48 2017 +0200 1.3 @@ -7,16 +7,15 @@ 1.4 MAINTAINER="rcx@zoominternet.net" 1.5 LICENSE="MIT" 1.6 WEB_SITE="https://sourceware.org/libffi/" 1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libffi.html" 1.8 HOST_ARCH="i486 arm" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 -WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" 1.12 +WGET_URL="https://sourceware.org/ftp/libffi/$TARBALL" 1.13 1.14 SPLIT="libffi-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ 1.21 -i include/Makefile.in 1.22 sed -e '/^includedir/ s/=.*$/=@includedir@/' \ 1.23 @@ -25,15 +24,13 @@ 1.24 1.25 ./configure \ 1.26 --disable-static \ 1.27 - $CONFIGURE_ARGS && 1.28 + $CONFIGURE_ARGS && 1.29 make && make install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 case $PACKAGE in 1.37 libffi) copy @std;; 1.38 - *-dev) copy @dev;; 1.39 + *-dev) copy @dev;; 1.40 esac 1.41 }