wok diff libgcrypt/receipt @ rev 17232
slitaz-menus: fix empty menu after menu-cache update
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 17 05:59:32 2014 +0200 (2014-10-17) |
parents | 8f447cf2eee5 |
children | 17e313b5b9c1 |
line diff
1.1 --- a/libgcrypt/receipt Sat Nov 09 20:47:29 2013 +0000 1.2 +++ b/libgcrypt/receipt Fri Oct 17 05:59:32 2014 +0200 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 }