wok-next view openbox-max/receipt @ rev 20024
Up tesseract-ocr (3.05.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 12:39:31 2017 +0200 (2017-10-22) |
parents | b938e6730252 |
children | c3d04e304a7a |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox-max"
4 VERSION="3.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Small-footprint and standard compliant Window Manager (allow icons in menus + SVG support)"
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 imlib2-dev librsvg-dev"
18 SIBLINGS="openbox"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # we need reconfiguration after patching...
24 autoreconf -fi &&
26 ./configure \
27 --sysconfdir=/etc \
28 --libexecdir=/usr/lib/openbox \
29 --disable-static \
30 --docdir=/usr/share/doc/openbox-$VERSION \
31 $CONFIGURE_ARGS &&
32 make &&
33 make -j1 DESTDIR=$DESTDIR install &&
35 # Pipe menu.
36 cp $stuff/open-folder-menu.sh $install/usr/lib/openbox/
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 copy obxprop openbox openbox-session *.so* openbox-autostart \
43 pixmaps/ Onyx*/ xsessions/openbox.desktop open-folder-menu.sh
44 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package
45 TAGS="window-manager"
46 PROVIDE="openbox openbox-imlib2"
47 SUGGESTED="obconf pcmanfm hsetroot"
48 DEPENDS="imlib2 librsvg pango startup-notification xorg-libSM \
49 xorg-libXcursor xorg-libXi xorg-libXinerama xorg-libXrandr slitaz-configs"
50 }
52 pre_install() {
53 [ ! -d "$1/var/lib/tazpkg/installed/openbox" ] ||
54 tazpkg -r openbox --root="$1/"
55 }