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