wok diff libgcrypt/receipt @ rev 17599
linux: CONFIG_USB_SERIAL_VISOR=m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Feb 11 01:56:28 2015 -0500 (2015-02-11) |
parents | 8f447cf2eee5 |
children | 17e313b5b9c1 |
line diff
1.1 --- a/libgcrypt/receipt Sat Nov 09 20:47:29 2013 +0000 1.2 +++ b/libgcrypt/receipt Wed Feb 11 01:56:28 2015 -0500 1.3 @@ -9,7 +9,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://www.gnupg.org/" 1.6 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL" 1.7 -CROSS="bug" 1.8 +HOST_ARCH="i486 arm" 1.9 1.10 DEPENDS="libgpg-error" 1.11 BUILD_DEPENDS="libgpg-error-dev" 1.12 @@ -17,11 +17,18 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 - export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error" 1.18 - ./configure \ 1.19 - --build=$HOST_SYSTEM \ 1.20 - --host=$HOST_SYSTEM && 1.21 + case "$ARCH" in 1.22 + arm) 1.23 + #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error" 1.24 + ./configure \ 1.25 + --build=i486-slitaz-linux \ 1.26 + --host=arm-slitaz-linux-gnueabi ;; 1.27 + *) 1.28 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error" 1.29 + ./configure \ 1.30 + --build=$HOST_SYSTEM \ 1.31 + --host=$HOST_SYSTEM ;; 1.32 + esac && 1.33 make && make install 1.34 } 1.35 1.36 @@ -30,5 +37,6 @@ 1.37 { 1.38 mkdir -p $fs/usr/bin $fs/usr/lib 1.39 cp -a $install/usr/bin/dumpsexp $fs/usr/bin 1.40 + cp -a $install/usr/bin/hmac256 $fs/usr/bin 1.41 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 }