wok annotate lxpanel/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 68d68791ced5
children f0abef5a98b3
rev   line source
pankso@341 1 # SliTaz package receipt.
pankso@341 2
pankso@341 3 PACKAGE="lxpanel"
al@14260 4 VERSION="0.5.12"
pankso@341 5 CATEGORY="x-window"
al@14260 6 SHORT_DESC="Lightweight X11 desktop panel"
pankso@341 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
rcx@3799 9 WEB_SITE="http://www.lxde.org/"
al@14260 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14260 11 WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL"
pascal@2563 12 CONFIG_FILES="/etc/lxpanel/default"
pankso@341 13
al@14260 14 DEPENDS="alsa-lib gtk+ libwnck menu-cache wireless_tools"
al@14269 15 SUGGESTED="lxsession slitaz-icon"
al@14260 16 BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \
al@14260 17 wireless_tools-dev libxml2-dev lxmenu-data"
al@14260 18 TAGS="gtk2 panel"
pankso@9694 19
pankso@341 20 # Rules to configure and make the package.
pankso@341 21 compile_rules()
pankso@341 22 {
al@14260 23 ./configure \
al@14260 24 --sysconfdir=/etc \
al@14260 25 --localstatedir=/var \
al@14260 26 --with-plugins=all \
al@14260 27 $CONFIGURE_ARGS &&
al@14260 28 make &&
al@14260 29 make install
pankso@341 30 }
pankso@341 31
pankso@341 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@341 33 genpkg_rules()
pankso@341 34 {
al@14260 35 mkdir -p \
al@14260 36 $fs/usr/lib \
al@14260 37 $fs/usr/share/lxpanel/images \
al@14260 38 $fs/etc/lxpanel \
al@14260 39 $fs/etc/xdg
pankso@12560 40
pankso@9694 41 cp -a $install/usr/bin $fs/usr
al@14260 42
al@14260 43 # Plugins (kbled -> lxpanel-extra)
pankso@9694 44 cp -a $install/usr/lib/lxpanel $fs/usr/lib
al@14260 45 find $fs -name kbled.so -delete
pankso@3808 46
al@14260 47 # Images
al@14260 48 imgs=usr/share/lxpanel/images
al@14260 49 for i in clock cpufreq-icon my-computer; do
al@14260 50 cp -a $install/$imgs/$i.png $fs/$imgs
pankso@3093 51 done
pankso@3808 52
pankso@3093 53 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config
al@14260 54 cp -a $install/usr/share/lxpanel/profile/* $fs/etc/lxpanel
slaxemulator@13159 55 ln -sf /etc/lxpanel $fs/usr/share/lxpanel/profile
slaxemulator@13159 56 mv -f $fs/etc/lxpanel/default $fs/etc/lxpanel/original
pankso@12307 57 cp -a $stuff/default $fs/etc/lxpanel
pankso@12307 58 rm -rf $fs/etc/lxpanel/two_panels
pankso@12560 59
pankso@12560 60 # XDG autostart desktop file (lxsession will use it automaticaly)
pankso@12560 61 cp -a $stuff/autostart $fs/etc/xdg
pankso@12560 62
al@14260 63 cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel
al@14260 64 cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel
pankso@610 65 }