wok-current rev 16260
ARM: add lxpanel
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 07:29:04 2014 +0200 (2014-04-05) |
parents | 75362eca62d8 |
children | 523db8f94fcb |
files | lxpanel-dev/receipt lxpanel/receipt |
line diff
1.1 --- a/lxpanel-dev/receipt Sat Apr 05 07:05:11 2014 +0200 1.2 +++ b/lxpanel-dev/receipt Sat Apr 05 07:29:04 2014 +0200 1.3 @@ -7,6 +7,7 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="http://www.lxde.org/" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 WANTED="lxpanel" 1.10 DEPENDS="pkg-config"
2.1 --- a/lxpanel/receipt Sat Apr 05 07:05:11 2014 +0200 2.2 +++ b/lxpanel/receipt Sat Apr 05 07:29:04 2014 +0200 2.3 @@ -11,11 +11,21 @@ 2.4 WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL" 2.5 CONFIG_FILES="/etc/lxpanel/default" 2.6 TAGS="gtk2 panel" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 -SUGGESTED="lxsession slitaz-icon" 2.10 -DEPENDS="alsa-lib gtk+ menu-cache wireless_tools" 2.11 -BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \ 2.12 -wireless_tools-dev libxml2-dev lxmenu-data" 2.13 +SUGGESTED="lxde lxsession slitaz-icon" 2.14 +DEPENDS="alsa-lib gtk+ menu-cache wireless_tools libxml2 slitaz-menus" 2.15 +BUILD_DEPENDS="gtk+-dev menu-cache-dev alsa-lib-dev wireless_tools-dev \ 2.16 +libxml2-dev lxmenu-data" 2.17 + 2.18 +# Handle cross compilation 2.19 +case "$ARCH" in 2.20 + i?86) 2.21 + BUILD_DEPENDS="$BUILD_DEPENDS libwnck-dev" 2.22 + pluglist="all" ;; 2.23 + arm*) 2.24 + pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors" ;; 2.25 +esac 2.26 2.27 # Rules to configure and make the package. 2.28 compile_rules() 2.29 @@ -23,10 +33,9 @@ 2.30 ./configure \ 2.31 --sysconfdir=/etc \ 2.32 --localstatedir=/var \ 2.33 - --with-plugins=all \ 2.34 + --with-plugins="$pluglist" \ 2.35 $CONFIGURE_ARGS && 2.36 - make && 2.37 - make install 2.38 + make && make install 2.39 } 2.40 2.41 # Rules to gen a SliTaz package suitable for Tazpkg.