wok-next annotate openbox-max/receipt @ rev 19844
sakura -> sakura-gtk2; vte -> vte-gtk2; add sakura, vte; up gtk-engines, lxde, wpa_supplicant.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 25 15:45:11 2017 +0300 (2017-08-25) |
parents | |
children | 7ae7ca392d9e |
rev | line source |
---|---|
al@19790 | 1 # SliTaz package receipt. |
al@19790 | 2 |
al@19790 | 3 PACKAGE="openbox-max" |
al@19790 | 4 VERSION="3.6.1" |
al@19790 | 5 CATEGORY="x-window" |
al@19790 | 6 SHORT_DESC="Small-footprint and standard compliant Window Manager (allow icons in menus + SVG support)" |
al@19790 | 7 MAINTAINER="pankso@slitaz.org" |
al@19790 | 8 LICENSE="GPL2" |
al@19790 | 9 WEB_SITE="http://openbox.org/" |
al@19790 | 10 |
al@19790 | 11 TARBALL="openbox-$VERSION.tar.gz" |
al@19790 | 12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL" |
al@19790 | 13 |
al@19790 | 14 BUILD_DEPENDS="glib-dev pango-dev \ |
al@19790 | 15 gettext xorg-libXcursor-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \ |
al@19790 | 16 xorg-libXinerama-dev startup-notification-dev automake libtool docbook-utils \ |
al@19790 | 17 xorg-libXi-dev imlib2-dev librsvg-dev" |
al@19790 | 18 SIBLINGS="openbox" |
al@19790 | 19 |
al@19790 | 20 # Rules to configure and make the package. |
al@19790 | 21 compile_rules() |
al@19790 | 22 { |
al@19790 | 23 # we need reconfiguration after patching... |
al@19790 | 24 autoreconf -fi && |
al@19790 | 25 |
al@19790 | 26 ./configure \ |
al@19790 | 27 --sysconfdir=/etc \ |
al@19790 | 28 --libexecdir=/usr/lib/openbox \ |
al@19790 | 29 --disable-static \ |
al@19790 | 30 --docdir=/usr/share/doc/openbox-$VERSION \ |
al@19790 | 31 $CONFIGURE_ARGS && |
al@19790 | 32 make && |
al@19790 | 33 make -j1 DESTDIR=$DESTDIR install && |
al@19790 | 34 |
al@19790 | 35 # Pipe menu. |
al@19790 | 36 cp $stuff/open-folder-menu.sh $install/usr/lib/openbox/ |
al@19790 | 37 } |
al@19790 | 38 |
al@19790 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19790 | 40 genpkg_rules() |
al@19790 | 41 { |
al@19790 | 42 copy obxprop openbox openbox-session *.so* openbox-autostart \ |
al@19790 | 43 pixmaps/ Onyx*/ xsessions/openbox.desktop open-folder-menu.sh |
al@19790 | 44 # SliTaz /etc/xdg/openbox/* files are in 'slitaz-configs' package |
al@19790 | 45 TAGS="window-manager" |
al@19790 | 46 PROVIDE="openbox openbox-imlib2" |
al@19790 | 47 SUGGESTED="obconf pcmanfm hsetroot" |
al@19790 | 48 DEPENDS="imlib2 librsvg pango startup-notification xorg-libSM \ |
al@19790 | 49 xorg-libXcursor xorg-libXi xorg-libXinerama xorg-libXrandr slitaz-configs" |
al@19790 | 50 } |
al@19790 | 51 |
al@19790 | 52 pre_install() { |
al@19790 | 53 [ -d "$1/var/lib/tazpkg/installed/openbox" ] && |
al@19790 | 54 tazpkg -r openbox --root="$1/" |
al@19790 | 55 } |