wok-6.x diff mtpaint/receipt @ rev 17495
Add pyaudio
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jan 04 11:37:00 2015 +0000 (2015-01-04) |
parents | 2b9f96603415 |
children | 46683195f95c |
line diff
1.1 --- a/mtpaint/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/mtpaint/receipt Sun Jan 04 11:37:00 2015 +0000 1.3 @@ -9,6 +9,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://mtpaint.sourceforge.net/" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 +#HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="gtk+ libpng lcms" 1.10 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev" 1.11 @@ -17,12 +18,19 @@ 1.12 compile_rules() 1.13 { 1.14 cp -a $stuff/icons/*.xpm $src/src/icons1 1.15 - cd $src 1.16 - ./configure \ 1.17 - --cpu=$ARCH \ 1.18 - --prefix=/usr \ 1.19 - intl nogif && 1.20 - make 1.21 + case "$ARCH" in 1.22 + i?86) 1.23 + ./configure \ 1.24 + --cpu=$ARCH \ 1.25 + --prefix=/usr \ 1.26 + intl nogif ;; 1.27 + arm*) 1.28 + # we need: arm-slitaz-linux-gnueabi-pkg-config 1.29 + ./configure \ 1.30 + --prefix=/usr \ 1.31 + --host=${HOST_SYSTEM} \ 1.32 + intl nogif 1.33 + esac && make 1.34 # install mo files to the right place 1.35 for i in $(find $src/po/*.mo); do 1.36 LNG=$(basename $i .mo)