wok diff libffi-dev/receipt @ rev 12838

gcc-lib-base: we need it in ARM
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 23 01:32:05 2012 +0200 (2012-05-23)
parents 44e73ecc5e31
children f8a19c127db5
line diff
     1.1 --- a/libffi-dev/receipt	Wed Oct 12 14:02:59 2011 +0000
     1.2 +++ b/libffi-dev/receipt	Wed May 23 01:32:05 2012 +0200
     1.3 @@ -6,18 +6,21 @@
     1.4  SHORT_DESC="libffi devel files."
     1.5  WEB_SITE="http://sourceware.org/libffi/"
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +WANTED="libffi"
     1.8 +HOST_ARCH="i486 arm"
     1.9 +
    1.10  DEPENDS="libffi"
    1.11 -WANTED="libffi"
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.18 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.19 -	cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib
    1.20 -	
    1.21 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/lib/$WANTED-$VERSION $fs/usr/lib
    1.24 +
    1.25  	# Copy the headers to the standard location
    1.26  	mkdir -p $fs/usr/include/$WANTED-$VERSION
    1.27 -	cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION
    1.28 +	cp -a $install/usr/lib/$WANTED-$VERSION/include/* \
    1.29 +		$fs/usr/include/$WANTED-$VERSION
    1.30  }