wok-6.x view openbox/receipt @ rev 5507
Up: boxbackup-server (0.11rc8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat May 08 12:45:28 2010 +0200 (2010-05-08) |
parents | 5b44af8c1257 |
children | 6d656c48fdcf |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox"
4 VERSION="3.4.11.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 fontconfig freetype \
9 xorg-libXrandr"
10 SUGGESTED="obconf pcmanfm hsetroot slitaz-configs"
11 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://icculus.org/openbox/"
14 WGET_URL="http://offload2.icculus.org:9090/openbox/releases/$TARBALL"
15 TAGS="window-manager wm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 chmod +x install-sh
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/openbox $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/share/themes $fs/usr/share
41 # We dont have GNOME or KDE
42 rm $fs/usr/bin/openbox-gnome-session
43 rm $fs/usr/bin/openbox-kde-session
44 rm $fs/usr/bin/gnome-panel-control
45 chmod 0755 $fs/usr/bin/openbox-session
47 # Pipe menu.
48 cp stuff/open-folder-menu.sh $fs/usr/lib/openbox
50 # Locale
51 for i in $LOCALE
52 do
53 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
54 cp $src/po/$i.gmo \
55 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
56 done
58 # Set perms.
59 chown -R root.root $fs
60 }