wok-6.x annotate openbox/receipt @ rev 15919
openbox: depends on xorg-libXcursor (fix no X in justx flavor)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 18 17:43:11 2014 +0100 (2014-02-18) |
parents | 6f9125b9e412 |
children | 1204cf352c74 |
rev | line source |
---|---|
pankso@357 | 1 # SliTaz package receipt. |
pankso@357 | 2 |
pankso@357 | 3 PACKAGE="openbox" |
erjo@15727 | 4 VERSION="3.5.2" |
pankso@357 | 5 CATEGORY="x-window" |
pankso@357 | 6 SHORT_DESC="Small-footprint and standard compliant Window Manager." |
pankso@357 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
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" |
pankso@15919 | 12 SUGGESTED="obconf spacefm pcmanfm hsetroot" |
jozee@4970 | 13 TAGS="window-manager wm" |
pankso@357 | 14 |
pankso@9716 | 15 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \ |
pankso@15919 | 16 xorg-libXrandr xorg-libXft xorg-libXinerama xorg-libXcursor \ |
pankso@15919 | 17 libxml2 slitaz-configs" |
pankso@9716 | 18 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \ |
pankso@13564 | 19 xorg-libXft-dev util-linux-uuid-dev libxml2-dev" |
pankso@9716 | 20 |
pankso@357 | 21 # Rules to configure and make the package. |
pankso@357 | 22 compile_rules() |
pankso@357 | 23 { |
pankso@357 | 24 cd $src |
pankso@357 | 25 chmod +x install-sh |
pankso@357 | 26 ./configure \ |
pankso@357 | 27 --prefix=/usr \ |
pankso@357 | 28 --sysconfdir=/etc \ |
pankso@12467 | 29 --libexecdir=/usr/lib/openbox \ |
pascal@1566 | 30 $CONFIGURE_ARGS && |
pascal@1566 | 31 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && |
pascal@1566 | 32 make && |
pankso@12467 | 33 make -j1 DESTDIR=$DESTDIR install && |
pankso@12467 | 34 rm -rf $install/usr/share/applications |
pankso@357 | 35 } |
pankso@357 | 36 |
pankso@357 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@357 | 38 genpkg_rules() |
pankso@357 | 39 { |
pankso@12467 | 40 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes |
pankso@12467 | 41 cp -a $install/usr/bin $fs/usr |
pankso@12467 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12467 | 43 cp -a $install/usr/lib/openbox $fs/usr/lib |
pankso@13564 | 44 |
pankso@357 | 45 # We dont have GNOME or KDE |
pankso@357 | 46 rm $fs/usr/bin/openbox-gnome-session |
pankso@357 | 47 rm $fs/usr/bin/openbox-kde-session |
pankso@357 | 48 rm $fs/usr/bin/gnome-panel-control |
pankso@12467 | 49 rm $fs/usr/bin/gdm-control |
pankso@357 | 50 chmod 0755 $fs/usr/bin/openbox-session |
pankso@13564 | 51 |
pankso@12467 | 52 # Python XDG script --> openbox-python |
pankso@12467 | 53 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart |
pankso@12467 | 54 patch -p1 $fs/usr/lib/openbox/openbox-autostart \ |
pankso@12467 | 55 -i $stuff/openbox-autostart.patch || exit 1 |
pankso@13564 | 56 |
pankso@12467 | 57 # Just Onyx Themes --> openbox-themes |
pankso@12467 | 58 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes |
pankso@13564 | 59 |
pankso@12467 | 60 # Xsessions |
pankso@12467 | 61 cp -a $stuff/xsessions $fs/usr/share |
pankso@13564 | 62 |
pankso@714 | 63 # Pipe menu. |
pankso@12467 | 64 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox |
pankso@624 | 65 |
pankso@410 | 66 # Set perms. |
pankso@357 | 67 chown -R root.root $fs |
pankso@357 | 68 } |