wok-next view openbox/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openbox"
4 VERSION="3.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Small-footprint and standard compliant Window Manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://openbox.org/wiki/Main_Page"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
14 BUILD_DEPENDS="glib-dev pango-dev gettext-dev libxcursor-dev \
15 libice-dev libsm-dev libxrandr-dev libxinerama-dev \
16 startup-notification-dev automake libtool docbook-utils libxi-dev \
17 xcb-util-dev imlib2-dev librsvg-dev"
18 SPLIT="$PACKAGE-light:light $PACKAGE-themes $PACKAGE-python $PACKAGE-dev"
20 compile_rules() {
21 case $SET in
22 light) SET_ARGS='--disable-imlib2 --disable-librsvg';;
23 *) SET_ARGS='';;
24 esac
26 # openbox required reconfiguration after patching...
27 autoreconf -fi &&
29 ./configure \
30 --libexecdir=/usr/lib/openbox \
31 --disable-static \
32 $SET_ARGS \
33 $CONFIGURE_ARGS &&
34 fix libtool &&
35 make &&
36 make -j1 DESTDIR=$install install &&
38 # Pipe menu.
39 install -m755 $stuff/open-folder-menu.sh \
40 $install/usr/lib/openbox/open-folder-menu.sh
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 openbox)
46 copy obxprop openbox openbox-session *.so* openbox-autostart \
47 pixmaps/ Clearlooks/ Onyx*/ xsessions/openbox.desktop \
48 open-folder-menu.sh
49 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
50 DEPENDS="libcairo glib imlib2 librsvg libxml2 pango \
51 startup-notification libice libsm libx11 \
52 libxcursor libxext libxft libxi \
53 libxinerama libxrandr slitaz-configs"
54 SUGGESTED="obconf pcmanfm hsetroot"
55 TAGS="window-manager"
56 ;;
57 openbox-light)
58 copy obxprop openbox openbox-session *.so* openbox-autostart \
59 pixmaps/ Clearlooks/ Onyx*/ xsessions/openbox.desktop \
60 open-folder-menu.sh
61 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
62 CAT="x-window|without imlib2 and SVG support"
63 DEPENDS="glib libxml2 pango startup-notification libice \
64 libsm libx11 libxcursor libxext libxft \
65 libxi libxinerama libxrandr slitaz-configs"
66 PROVIDE="openbox"
67 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
68 TAGS="window-manager"
69 ;;
70 openbox-python)
71 copy openbox-xdg-autostart
72 CAT="development|Python script - XDG auto start standard support"
73 DEPENDS="openbox python python-pyxdg"
74 ;;
75 openbox-themes)
76 copy themes/ @rm
77 CAT="customiz|official themes set"
78 ;;
79 openbox-dev)
80 copy @dev
81 DEPENDS="openbox openbox-themes \
82 glib-dev imlib2-dev librsvg-dev libxml2-dev pango-dev \
83 libice-dev libsm-dev libx11-dev libxft-dev"
84 ;;
85 esac
86 }