wok-next view openbox-imlib2/receipt @ rev 13881
busybox-boot: add mount=, loopfs= & subroot= cmdline args (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 14:10:44 2013 +0100 (2013-01-17) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox-imlib2"
4 VERSION="3.5.0"
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 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://openbox.org/"
12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
13 TAGS="window-manager wm"
14 PROVIDE="openbox"
16 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
17 xorg-libXrandr xorg-libXft libxml2 imlib2 slitaz-configs"
18 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
19 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 chmod +x install-sh
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --libexecdir=/usr/lib/openbox \
30 $CONFIGURE_ARGS &&
31 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
32 make &&
33 make -j1 DESTDIR=$DESTDIR install &&
34 rm -rf $install/usr/share/applications
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/openbox $fs/usr/lib
45 # We dont have GNOME or KDE
46 rm $fs/usr/bin/openbox-gnome-session
47 rm $fs/usr/bin/openbox-kde-session
48 rm $fs/usr/bin/gnome-panel-control
49 rm $fs/usr/bin/gdm-control
50 chmod 0755 $fs/usr/bin/openbox-session
52 # Python XDG script --> openbox-python
53 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
54 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
55 -i $stuff/openbox-autostart.patch || exit 1
57 # Just Onyx Themes --> openbox-themes
58 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
60 # Xsessions
61 cp -a $stuff/xsessions $fs/usr/share
63 # Pipe menu.
64 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
66 # Set perms.
67 chown -R root.root $fs
68 }