wok annotate openbox/receipt @ rev 469
SliTaz theme for Openbox and improved default menu
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 20 23:05:10 2008 +0100 (2008-03-20) |
parents | 91f7f2145552 |
children | cbb16242ff76 |
rev | line source |
---|---|
pankso@357 | 1 # SliTaz package receipt. |
pankso@357 | 2 |
pankso@357 | 3 PACKAGE="openbox" |
pankso@357 | 4 VERSION="3.4.6.1" |
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" |
pankso@357 | 8 DEPENDS="startup-notification pango glib xorg-libX11" |
pankso@357 | 9 SUGGESTED="obconf hsetroot" |
pankso@357 | 10 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev" |
pankso@357 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@357 | 12 WEB_SITE="http://icculus.org/openbox/" |
pankso@357 | 13 WGET_URL="http://icculus.org/openbox/releases/$TARBALL" |
pankso@357 | 14 |
pankso@357 | 15 # Rules to configure and make the package. |
pankso@357 | 16 compile_rules() |
pankso@357 | 17 { |
pankso@357 | 18 cd $src |
pankso@357 | 19 chmod +x install-sh |
pankso@357 | 20 ./configure \ |
pankso@357 | 21 --prefix=/usr \ |
pankso@357 | 22 --sysconfdir=/etc \ |
pankso@357 | 23 --infodir=/usr/share/info \ |
pankso@357 | 24 --mandir=/usr/share/man \ |
pankso@357 | 25 $CONFIGURE_ARGS |
pankso@357 | 26 make |
pankso@357 | 27 make DESTDIR=$PWD/_pkg install |
pankso@357 | 28 } |
pankso@357 | 29 |
pankso@357 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@357 | 31 genpkg_rules() |
pankso@357 | 32 { |
pankso@464 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@357 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@357 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@357 | 36 cp -a $_pkg/usr/share/themes $fs/usr/share |
pankso@357 | 37 # We dont have GNOME or KDE |
pankso@357 | 38 rm $fs/usr/bin/openbox-gnome-session |
pankso@357 | 39 rm $fs/usr/bin/openbox-kde-session |
pankso@357 | 40 rm $fs/usr/bin/gnome-panel-control |
pankso@357 | 41 chmod 0755 $fs/usr/bin/openbox-session |
pankso@357 | 42 # Menu config and autostart script. |
pankso@357 | 43 mkdir -p $fs/etc/xdg |
pankso@357 | 44 cp -a stuff/openbox $fs/etc/xdg |
pankso@469 | 45 # SliTaz theme |
pankso@469 | 46 cp -a stuff/themes $fs/usr/share |
pankso@410 | 47 # LXpanel config. |
pankso@464 | 48 mkdir -p $fs/etc/lxpanel/openbox |
pankso@464 | 49 cp stuff/lxpanel.config $fs/etc/lxpanel/openbox/config |
pankso@410 | 50 # Set perms. |
pankso@357 | 51 chown -R root.root $fs |
pankso@357 | 52 } |