wok-next view openbox/receipt @ rev 15466
asterisk: add some addons
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 09:51:52 2013 +0000 (2013-11-08) |
parents | 372dd84badab |
children | 8e628015090b |
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 spacefm hsetroot"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://openbox.org/"
12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
13 TAGS="window-manager wm"
15 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
16 xorg-libXrandr xorg-libXft libxml2 slitaz-configs"
17 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
18 xorg-libXft-dev util-linux-uuid-dev libxml2-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 chmod +x install-sh
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --libexecdir=/usr/lib/openbox \
29 $CONFIGURE_ARGS &&
30 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
31 make &&
32 make -j1 DESTDIR=$DESTDIR install &&
33 rm -rf $install/usr/share/applications
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/openbox $fs/usr/lib
44 # We dont have GNOME or KDE
45 rm $fs/usr/bin/openbox-gnome-session
46 rm $fs/usr/bin/openbox-kde-session
47 rm $fs/usr/bin/gnome-panel-control
48 rm $fs/usr/bin/gdm-control
49 chmod 0755 $fs/usr/bin/openbox-session
51 # Python XDG script --> openbox-python
52 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
53 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
54 -i $stuff/openbox-autostart.patch || exit 1
56 # Just Onyx Themes --> openbox-themes
57 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
59 # Xsessions
60 cp -a $stuff/xsessions $fs/usr/share
62 # Pipe menu.
63 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
65 # Set perms.
66 chown -R root.root $fs
67 }