wok-stable view openbox/receipt @ rev 3686
Update: gcc+gcj (icedtea6 compatibility)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jul 15 12:26:36 2009 +0000 (2009-07-15) |
parents | 7c31e56eae36 |
children | 048addb68a76 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox"
4 VERSION="3.4.7.2"
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://mirror.slitaz.org/sources/packages/o/$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 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/openbox $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/share/themes $fs/usr/share
39 # We dont have GNOME or KDE
40 rm $fs/usr/bin/openbox-gnome-session
41 rm $fs/usr/bin/openbox-kde-session
42 rm $fs/usr/bin/gnome-panel-control
43 chmod 0755 $fs/usr/bin/openbox-session
45 # Pipe menu.
46 cp stuff/open-folder-menu.sh $fs/usr/lib/openbox
48 # Locale
49 for i in $LOCALE
50 do
51 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
52 cp $src/po/$i.gmo \
53 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
54 done
56 # Set perms.
57 chown -R root.root $fs
58 }