wok-current diff yad/receipt @ rev 16636
efl: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 12 09:48:27 2014 +0000 (2014-05-12) |
parents | 4addbf8f8939 |
children | e9c56b27df13 |
line diff
1.1 --- a/yad/receipt Sat Feb 15 13:08:13 2014 +0100 1.2 +++ b/yad/receipt Mon May 12 09:48:27 2014 +0000 1.3 @@ -2,6 +2,7 @@ 1.4 1.5 PACKAGE="yad" 1.6 VERSION="0.26.0" 1.7 +VERSION_NOTE="latest" 1.8 CATEGORY="utilities" 1.9 SHORT_DESC="Display graphical dialogs from shell scripts or command line" 1.10 MAINTAINER="devl547@gmail.com" 1.11 @@ -10,19 +11,23 @@ 1.12 WEB_SITE="http://sourceforge.net/projects/yad-dialog/" 1.13 WGET_URL="$SF_MIRROR/project/yad-dialog/$TARBALL" 1.14 TAGS="gtk2" 1.15 -VERSION_NOTE="latest" 1.16 +HOST_ARCH="i486 arm" 1.17 1.18 DEPENDS="gtk+" 1.19 -BUILD_DEPENDS="gtk+-dev optipng" 1.20 +BUILD_DEPENDS="gtk+-dev" 1.21 + 1.22 +case "$ARCH" in 1.23 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS optipng" ;; 1.24 +esac 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 patch -p1 < $stuff/ru.patch 1.30 ./configure \ 1.31 - --enable-icon-browser && 1.32 - make && 1.33 - make install 1.34 + --enable-icon-browser \ 1.35 + $CONFIGURE_ARGS && 1.36 + make && make install && 1.37 optipng -quiet -zc1-9 -zm1-9 -zs0-3 -f0-5 \ 1.38 $install/usr/share/icons/hicolor/48x48/apps/yad.png 1.39 } 1.40 @@ -31,7 +36,7 @@ 1.41 genpkg_rules() 1.42 { 1.43 usih=/usr/share/icons/hicolor 1.44 - mkdir -p $fs$usih 1.45 + mkdir -p ${fs}$usih 1.46 cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install$usih/48x48 $fs$usih 1.48 + cp -a ${install}$usih/48x48 ${fs}$usih 1.49 }