wok view openbox-imlib2/receipt @ rev 20645

updated hostapd (2.6 -> 2.7)
author Hans-G?nter Theisgen
date Fri Jan 11 16:39:21 2019 +0100 (8 months ago)
parents b1b4124be3fb
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openbox-imlib2"
4 VERSION="3.6.1"
5 SOURCE="openbox"
6 CATEGORY="x-window"
7 SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
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"
14 PROVIDE="openbox"
16 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
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 xcb-util-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 chmod +x install-sh
27 patch -p1 < ${stuff}/openbox-rounded.patch || exit 1
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 }