wok-next diff libffi/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents e19ff076dc63
children
line diff
     1.1 --- a/libffi/receipt	Mon Dec 31 17:23:40 2018 +0200
     1.2 +++ b/libffi/receipt	Tue Sep 01 11:04:25 2020 +0000
     1.3 @@ -7,35 +7,20 @@
     1.4  MAINTAINER="devel@slitaz.org"
     1.5  LICENSE="MIT"
     1.6  WEB_SITE="https://sourceware.org/libffi/"
     1.7 -LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.html"
     1.8 +LFS="http://linuxfromscratch.org/lfs/view/development/chapter06/libffi.html"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="https://sourceware.org/ftp/libffi/$TARBALL"
    1.12 +TARBALL_SHA1="280c265b789e041c02e5c97815793dfc283fb1e6"
    1.13  
    1.14  COOKOPTS="force-arch" # different .h, .pc
    1.15  
    1.16  SPLIT="$PACKAGE-dev"
    1.17  
    1.18  compile_rules() {
    1.19 -	sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
    1.20 -		-i include/Makefile.in
    1.21 -	sed -e '/^includedir/ s/=.*$/=@includedir@/' \
    1.22 -		-e 's/^Cflags: -I${includedir}/Cflags:/' \
    1.23 -		-i libffi.pc.in
    1.24 -
    1.25  	./configure \
    1.26 -		--libdir=/usr/lib \
    1.27  		--disable-static \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -#	sed -i 's|^\(toolexeclibdir = \).*|\1/usr/lib|' Makefile \
    1.30 -#		$HOST_SYSTEM-gnu/Makefile &&
    1.31  	make &&
    1.32  	make install
    1.33  }
    1.34 -
    1.35 -genpkg_rules() {
    1.36 -	case $PACKAGE in
    1.37 -		libffi) copy @std;;
    1.38 -		*-dev)  copy @dev;;
    1.39 -	esac
    1.40 -}