wok-next view openbox/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | c3d04e304a7a |
children | 757d032c55c7 |
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="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://openbox.org/"
11 TARBALL="openbox-$VERSION.tar.gz"
12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
14 BUILD_DEPENDS="glib-dev pango-dev \
15 gettext xorg-libXcursor-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \
16 xorg-libXinerama-dev startup-notification-dev automake libtool docbook-utils \
17 xorg-libXi-dev xorg-xcb-util-dev imlib2-dev librsvg-dev"
18 SPLIT="openbox openbox-light:light openbox-themes openbox-python openbox-dev"
20 compile_rules() {
21 case $SET in
22 light) SET_ARGS='--disable-imlib2 --disable-librsvg';;
23 *) SET_ARGS='';;
24 esac
26 fix ld
27 # openbox required reconfiguration after patching...
28 autoreconf -fi &&
30 ./configure \
31 --sysconfdir=/etc \
32 --libexecdir=/usr/lib/openbox \
33 --disable-static \
34 $ARCH_ARGS $SET_ARGS $CONFIGURE_ARGS &&
35 fix libtool &&
36 make &&
37 make -j1 DESTDIR=$DESTDIR install &&
39 # Pipe menu.
40 install -m755 $stuff/open-folder-menu.sh \
41 $install/usr/lib/openbox/open-folder-menu.sh
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 openbox)
47 copy obxprop openbox openbox-session *.so* openbox-autostart \
48 pixmaps/ Clearlooks/ Onyx*/ xsessions/openbox.desktop \
49 open-folder-menu.sh
50 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
51 DEPENDS="cairo glib imlib2 librsvg libxml2 pango \
52 startup-notification xorg-libICE xorg-libSM xorg-libX11 \
53 xorg-libXcursor xorg-libXext xorg-libXft xorg-libXi \
54 xorg-libXinerama xorg-libXrandr slitaz-configs"
55 SUGGESTED="obconf pcmanfm hsetroot"
56 TAGS="window-manager"
57 ;;
58 openbox-light)
59 copy obxprop openbox openbox-session *.so* openbox-autostart \
60 pixmaps/ Clearlooks/ Onyx*/ xsessions/openbox.desktop \
61 open-folder-menu.sh
62 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
63 CAT="x-window|without imlib2 and SVG support"
64 DEPENDS="glib libxml2 pango startup-notification xorg-libICE \
65 xorg-libSM xorg-libX11 xorg-libXcursor xorg-libXext xorg-libXft \
66 xorg-libXi xorg-libXinerama xorg-libXrandr slitaz-configs"
67 PROVIDE="openbox"
68 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
69 TAGS="window-manager"
70 ;;
71 openbox-python)
72 copy openbox-xdg-autostart
73 CAT="development|Python script - XDG auto start standard support"
74 DEPENDS="openbox python python-xdg"
75 ;;
76 openbox-themes)
77 copy themes/ @rm
78 CAT="customiz|official themes set"
79 ;;
80 openbox-dev)
81 copy @dev
82 DEPENDS="openbox openbox-themes \
83 glib-dev imlib2-dev librsvg-dev libxml2-dev pango-dev \
84 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXft-dev"
85 ;;
86 esac
87 }