wok-6.x view openbox/receipt @ rev 6705
Up: libsndfile to 1.0.23.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 22:01:19 2010 +0000 (2010-10-13) |
parents | a3475fc79078 |
children | 1808d3972a36 |
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 # Fix an error in openbox-session (version 3.4.11.1)
51 sed 's#exec /usr/bin/openbox "$@"#exec /usr/bin/openbox#' \
52 -i $fs/usr/bin/openbox-session
54 # Locale
55 for i in $LOCALE
56 do
57 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
58 cp $src/po/$i.gmo \
59 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
60 done
62 # Set perms.
63 chown -R root.root $fs
64 }