wok-next view openbox/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | 048addb68a76 |
children | 5b44af8c1257 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox"
4 VERSION="3.4.9"
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 SUGGESTED="obconf pcmanfm hsetroot slitaz-configs"
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://offload2.icculus.org:9090/openbox/releases/$TARBALL"
14 TAGS="window-manager wm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 chmod +x install-sh
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/openbox $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/share/themes $fs/usr/share
40 # We dont have GNOME or KDE
41 rm $fs/usr/bin/openbox-gnome-session
42 rm $fs/usr/bin/openbox-kde-session
43 rm $fs/usr/bin/gnome-panel-control
44 chmod 0755 $fs/usr/bin/openbox-session
46 # Pipe menu.
47 cp stuff/open-folder-menu.sh $fs/usr/lib/openbox
49 # Locale
50 for i in $LOCALE
51 do
52 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
53 cp $src/po/$i.gmo \
54 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
55 done
57 # Set perms.
58 chown -R root.root $fs
59 }