wok-next view openbox/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e7893ac206d |
children | a3254b6a96ac |
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 # 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=$DESTDIR 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-xdg"
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 }