wok view openbox-imlib2/receipt @ rev 17128
libQtGui: add stuffdir: write ~/.config/Trolltech.conf
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Sep 09 00:47:27 2014 +0200 (2014-09-09) |
parents | 9642e2562b88 |
children | 5d53e8ccbc8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox-imlib2"
4 VERSION="3.5.2"
5 SOURCE="openbox"
6 CATEGORY="x-window"
7 SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)."
8 SUGGESTED="obconf pcmanfm hsetroot"
9 MAINTAINER="pankso@slitaz.org"
10 LICENSE="GPL2"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://openbox.org/"
13 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
14 TAGS="window-manager wm"
15 PROVIDE="openbox"
17 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
18 xorg-libXrandr xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 imlib2 \
19 slitaz-configs"
20 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
21 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 chmod +x install-sh
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --libexecdir=/usr/lib/openbox \
32 $CONFIGURE_ARGS &&
33 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
34 make &&
35 make -j1 DESTDIR=$DESTDIR install &&
36 rm -rf $install/usr/share/applications
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/openbox $fs/usr/lib
47 # We dont have GNOME or KDE
48 rm $fs/usr/bin/openbox-gnome-session
49 rm $fs/usr/bin/openbox-kde-session
50 rm $fs/usr/bin/gnome-panel-control
51 rm $fs/usr/bin/gdm-control
52 chmod 0755 $fs/usr/bin/openbox-session
54 # Python XDG script --> openbox-python
55 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
56 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
57 -i $stuff/openbox-autostart.patch || exit 1
59 # Just Onyx Themes --> openbox-themes
60 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
62 # Xsessions
63 cp -a $stuff/xsessions $fs/usr/share
65 # Pipe menu.
66 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
68 # Set perms.
69 chown -R root.root $fs
70 }