wok-next view lxpanel/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxpanel"
4 COMMIT="25fd48473bebf02dfc1c099ce6ae58bca9b91645"
5 VERSION="0.9.3.postgit20180412"
6 CATEGORY="x-window"
7 SHORT_DESC="LXDE panel"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://wiki.lxde.org/en/LXPanel"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=snapshot;h=$COMMIT;sf=txz"
15 BUILD_DEPENDS="automake libtool intltool gtk2-dev menu-cache-dev alsa-lib-dev \
16 wireless_tools-dev libxml2-dev lxmenu-data libwnck2-dev libfm-dev \
17 keybinder-dev"
18 SPLIT="$PACKAGE-extra $PACKAGE $PACKAGE-dev"
20 compile_rules() {
21 ./autogen.sh
22 CFLAGS="$CFLAGS -lgmodule-2.0"
23 ./configure \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 # SliTaz profile
30 cp -r $stuff/slitaz $install/etc/xdg/lxpanel/
32 chown -R root:root $install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 lxpanel-extra)
38 copy kbled.so ns-*.png *lock-*.png xkb-flags/ \
39 background.png file-manager.png gnome-*.png mute.png \
40 stock_volume.png volume-*.png window-manager.png
41 CAT="x-window|extra files and plugins"
42 TAGS="LXDE"
43 DEPENDS="glib gtk2 lxpanel libx11"
44 ;;
45 lxpanel)
46 copy @std @rm
47 DEPENDS="alsa-lib libcairo gdk-pixbuf glib gtk2 libfm libfm-gtk \
48 keybinder libwnck2 libxml2 menu-cache pango wireless_tools \
49 libx11 slitaz-menus"
50 #CONFIG_FILES="/etc/xdg/lxpanel/default/"
51 TAGS="LXDE gtk2 panel"
52 SUGGESTED="lxde lxsession slitaz-icon"
53 ;;
54 lxpanel-dev)
55 copy @dev
56 DEPENDS="lxpanel lxpanel-extra \
57 gtk2-dev libfm-dev"
58 ;;
59 esac
60 }
62 # Clean LXPanel menu caches
63 post_install() {
64 chroot "$1/" rm home/*/.cache/menus/* 2>/dev/null
65 :
66 }