wok diff libffi/receipt @ rev 12839

dropbear: make it cross-compile for ARM (had to disable zlib)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 23 01:32:48 2012 +0200 (2012-05-23)
parents 44e73ecc5e31
children f496cfe6464a
line diff
     1.1 --- a/libffi/receipt	Wed Oct 12 14:02:59 2011 +0000
     1.2 +++ b/libffi/receipt	Wed May 23 01:32:48 2012 +0200
     1.3 @@ -5,10 +5,12 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="A portable foreign function interface library."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="glibc-base"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://sourceware.org/libffi/"
    1.10  WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
    1.11 +HOST_ARCH="i486 arm"
    1.12 +
    1.13 +DEPENDS="glibc-base"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17 @@ -25,10 +27,8 @@
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.22 -
    1.23 -	# create symlink to libffi.so.4
    1.24 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.25 +	# Create symlink to libffi.so.4
    1.26  	cd $fs/usr/lib
    1.27  	ln -sf libffi.so.5.0.10 libffi.so.4
    1.28  }
    1.29 -