# HG changeset patch # User Christophe Lincoln # Date 1396675744 -7200 # Node ID 68ed753afd197b838a196ba6a5c13e0840048620 # Parent 75362eca62d8f4c7349c5c26428eba382fdfd754 ARM: add lxpanel diff -r 75362eca62d8 -r 68ed753afd19 lxpanel-dev/receipt --- a/lxpanel-dev/receipt Sat Apr 05 07:05:11 2014 +0200 +++ b/lxpanel-dev/receipt Sat Apr 05 07:29:04 2014 +0200 @@ -7,6 +7,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.lxde.org/" +HOST_ARCH="i486 arm" WANTED="lxpanel" DEPENDS="pkg-config" diff -r 75362eca62d8 -r 68ed753afd19 lxpanel/receipt --- a/lxpanel/receipt Sat Apr 05 07:05:11 2014 +0200 +++ b/lxpanel/receipt Sat Apr 05 07:29:04 2014 +0200 @@ -11,11 +11,21 @@ WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL" CONFIG_FILES="/etc/lxpanel/default" TAGS="gtk2 panel" +HOST_ARCH="i486 arm" -SUGGESTED="lxsession slitaz-icon" -DEPENDS="alsa-lib gtk+ menu-cache wireless_tools" -BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \ -wireless_tools-dev libxml2-dev lxmenu-data" +SUGGESTED="lxde lxsession slitaz-icon" +DEPENDS="alsa-lib gtk+ menu-cache wireless_tools libxml2 slitaz-menus" +BUILD_DEPENDS="gtk+-dev menu-cache-dev alsa-lib-dev wireless_tools-dev \ +libxml2-dev lxmenu-data" + +# Handle cross compilation +case "$ARCH" in + i?86) + BUILD_DEPENDS="$BUILD_DEPENDS libwnck-dev" + pluglist="all" ;; + arm*) + pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors" ;; +esac # Rules to configure and make the package. compile_rules() @@ -23,10 +33,9 @@ ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ - --with-plugins=all \ + --with-plugins="$pluglist" \ $CONFIGURE_ARGS && - make && - make install + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.