wok-next view openbox/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3254b6a96ac |
children | 5ffe59e2de3a |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
14 BUILD_DEPENDS="glib-dev pango-dev gettext-dev xorg-libXcursor-dev \
15 xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev xorg-libXinerama-dev \
16 startup-notification-dev automake libtool docbook-utils xorg-libXi-dev \
17 xorg-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="cairo glib imlib2 librsvg libxml2 pango \
51 startup-notification xorg-libICE xorg-libSM xorg-libX11 \
52 xorg-libXcursor xorg-libXext xorg-libXft xorg-libXi \
53 xorg-libXinerama xorg-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 xorg-libICE \
64 xorg-libSM xorg-libX11 xorg-libXcursor xorg-libXext xorg-libXft \
65 xorg-libXi xorg-libXinerama xorg-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 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXft-dev"
84 ;;
85 esac
86 }