wok annotate openbox/receipt @ rev 14614

Up: php to 5.4.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 01 06:40:14 2013 +0000 (2013-06-01)
parents 73641efed1cc
children 372dd84badab
rev   line source
pankso@357 1 # SliTaz package receipt.
pankso@357 2
pankso@357 3 PACKAGE="openbox"
pankso@12467 4 VERSION="3.5.0"
pankso@357 5 CATEGORY="x-window"
pankso@357 6 SHORT_DESC="Small-footprint and standard compliant Window Manager."
pankso@13564 7 SUGGESTED="obconf pcmanfm hsetroot"
pankso@357 8 MAINTAINER="pankso@slitaz.org"
pankso@357 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12467 10 WEB_SITE="http://openbox.org/"
pankso@12467 11 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
jozee@4970 12 TAGS="window-manager wm"
pankso@357 13
pankso@9716 14 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
pankso@13564 15 xorg-libXrandr xorg-libXft libxml2 slitaz-configs"
pankso@9716 16 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
pankso@13564 17 xorg-libXft-dev util-linux-uuid-dev libxml2-dev"
pankso@9716 18
pankso@357 19 # Rules to configure and make the package.
pankso@357 20 compile_rules()
pankso@357 21 {
pankso@357 22 cd $src
pankso@357 23 chmod +x install-sh
pankso@357 24 ./configure \
pankso@357 25 --prefix=/usr \
pankso@357 26 --sysconfdir=/etc \
pankso@12467 27 --libexecdir=/usr/lib/openbox \
pascal@1566 28 $CONFIGURE_ARGS &&
pascal@1566 29 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
pascal@1566 30 make &&
pankso@12467 31 make -j1 DESTDIR=$DESTDIR install &&
pankso@12467 32 rm -rf $install/usr/share/applications
pankso@357 33 }
pankso@357 34
pankso@357 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@357 36 genpkg_rules()
pankso@357 37 {
pankso@12467 38 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
pankso@12467 39 cp -a $install/usr/bin $fs/usr
pankso@12467 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12467 41 cp -a $install/usr/lib/openbox $fs/usr/lib
pankso@13564 42
pankso@357 43 # We dont have GNOME or KDE
pankso@357 44 rm $fs/usr/bin/openbox-gnome-session
pankso@357 45 rm $fs/usr/bin/openbox-kde-session
pankso@357 46 rm $fs/usr/bin/gnome-panel-control
pankso@12467 47 rm $fs/usr/bin/gdm-control
pankso@357 48 chmod 0755 $fs/usr/bin/openbox-session
pankso@13564 49
pankso@12467 50 # Python XDG script --> openbox-python
pankso@12467 51 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
pankso@12467 52 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
pankso@12467 53 -i $stuff/openbox-autostart.patch || exit 1
pankso@13564 54
pankso@12467 55 # Just Onyx Themes --> openbox-themes
pankso@12467 56 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
pankso@13564 57
pankso@12467 58 # Xsessions
pankso@12467 59 cp -a $stuff/xsessions $fs/usr/share
pankso@13564 60
pankso@714 61 # Pipe menu.
pankso@12467 62 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
pankso@624 63
pankso@410 64 # Set perms.
pankso@357 65 chown -R root.root $fs
pankso@357 66 }