wok view openbox/receipt @ rev 13102

Add soundtouch.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 18:33:47 2012 +0000 (2012-06-26)
parents db9d08c745b4
children f378aed899f6
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox"
4 VERSION="3.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Small-footprint and standard compliant Window Manager."
7 SUGGESTED="obconf pcmanfm hsetroot slitaz-configs"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openbox.org/"
11 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
12 TAGS="window-manager wm"
14 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
15 xorg-libXrandr xorg-libXft libxml2 imlib2 slitaz-configs"
16 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
17 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 chmod +x install-sh
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --libexecdir=/usr/lib/openbox \
28 $CONFIGURE_ARGS &&
29 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
30 make &&
31 make -j1 DESTDIR=$DESTDIR install &&
32 rm -rf $install/usr/share/applications
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/openbox $fs/usr/lib
43 # We dont have GNOME or KDE
44 rm $fs/usr/bin/openbox-gnome-session
45 rm $fs/usr/bin/openbox-kde-session
46 rm $fs/usr/bin/gnome-panel-control
47 rm $fs/usr/bin/gdm-control
48 chmod 0755 $fs/usr/bin/openbox-session
50 # Python XDG script --> openbox-python
51 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
52 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
53 -i $stuff/openbox-autostart.patch || exit 1
55 # Just Onyx Themes --> openbox-themes
56 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
58 # Xsessions
59 cp -a $stuff/xsessions $fs/usr/share
61 # Pipe menu.
62 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
64 # Set perms.
65 chown -R root.root $fs
66 }