wok-6.x diff elementary-dev/receipt @ rev 19098
gettext: fix arm build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 03 22:10:36 2016 +0200 (2016-05-03) |
parents | 8ed62ecac0c7 |
children | 86790a278e70 |
line diff
1.1 --- a/elementary-dev/receipt Thu Dec 05 11:43:50 2013 +0000 1.2 +++ b/elementary-dev/receipt Tue May 03 22:10:36 2016 +0200 1.3 @@ -1,25 +1,28 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="elementary-dev" 1.7 -VERSION="1.7.9" 1.8 +VERSION="1.7.10" 1.9 CATEGORY="development" 1.10 SHORT_DESC="EFL full regular widget set - Devel files." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 WANTED="elementary" 1.14 WEB_SITE="http://www.enlightenment.org/" 1.15 +HOST_ARCH="i486 arm" 1.16 1.17 DEPENDS="efreet-dev emotion-dev ethumb-dev elementary pkg-config" 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0 1.23 - mkdir -p $fs/usr/lib/elementary/modules/test_entry/linux-gnu-i486-0.7.0 1.24 + case "$ARCH" in 1.25 + i?86) edje_mods="/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0" ;; 1.26 + arm) edje_mods="/usr/lib/edje/modules/elm/linux-gnueabi-arm-1.0.0" ;; 1.27 + esac 1.28 + mkdir -p ${fs}${edje_mods} 1.29 cp -a $install/usr/include $fs/usr 1.30 cp -a $install/usr/lib/*.*a $fs/usr/lib 1.31 - cp -a $install/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0/module.la \ 1.32 - $fs/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0 1.33 + cp -a ${install}${edje_mods}/module.la ${fs}${edje_mods} 1.34 cp -a $install/usr/lib/elementary $fs/usr/lib 1.35 rm -f $fs/usr/lib/elementary/modules/*/*/*.so 1.36 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.37 @@ -27,6 +30,6 @@ 1.38 mkdir -p $fs/usr/bin 1.39 cp -a $install/usr/bin/* $fs/usr/bin 1.40 mkdir -p $fs/usr/share/pixmaps 1.41 - cp -a $install/usr/share2/applications $fs/usr/share 1.42 - cp -a $install/usr/share2/icons/* $fs/usr/share/pixmaps 1.43 + cp -a $install/usr/share/applications $fs/usr/share 1.44 + cp -a $install/usr/share/icons/* $fs/usr/share/pixmaps 1.45 }