wok annotate 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 (19 months ago)
parents b1b4124be3fb
children
rev   line source
pankso@13564 1 # SliTaz package receipt.
pankso@13564 2
pankso@13564 3 PACKAGE="openbox-imlib2"
devl547@18340 4 VERSION="3.6.1"
pankso@13564 5 SOURCE="openbox"
pankso@13564 6 CATEGORY="x-window"
pankso@13564 7 SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)."
pankso@13564 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
pankso@13564 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@13564 11 WEB_SITE="http://openbox.org/"
pankso@13564 12 WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
al@17501 13 TAGS="window-manager"
pankso@13564 14 PROVIDE="openbox"
pankso@13564 15
pankso@19864 16 SUGGESTED="obconf spacefm pcmanfm hsetroot wbar2 conky"
pankso@13564 17 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
al@16541 18 xorg-libXrandr xorg-libXft xorg-libXinerama xorg-libXcursor libxml2 imlib2 \
pankso@15919 19 slitaz-configs"
pankso@13564 20 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
pascal@19728 21 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev xcb-util-dev"
pankso@13564 22
pankso@13564 23 # Rules to configure and make the package.
pankso@13564 24 compile_rules()
pankso@13564 25 {
pankso@13564 26 chmod +x install-sh
pankso@19864 27 patch -p1 < ${stuff}/openbox-rounded.patch || exit 1
pankso@13564 28 ./configure \
pankso@13564 29 --prefix=/usr \
pankso@13564 30 --sysconfdir=/etc \
pankso@13564 31 --libexecdir=/usr/lib/openbox \
pankso@13564 32 $CONFIGURE_ARGS &&
pankso@13564 33 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
pankso@13564 34 make &&
pankso@13564 35 make -j1 DESTDIR=$DESTDIR install &&
pankso@13564 36 rm -rf $install/usr/share/applications
pankso@13564 37 }
pankso@13564 38
pankso@13564 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13564 40 genpkg_rules()
pankso@13564 41 {
pankso@13564 42 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
pankso@13564 43 cp -a $install/usr/bin $fs/usr
pankso@13564 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13564 45 cp -a $install/usr/lib/openbox $fs/usr/lib
pankso@13564 46
pankso@13564 47 # We dont have GNOME or KDE
pankso@13564 48 rm $fs/usr/bin/openbox-gnome-session
pankso@13564 49 rm $fs/usr/bin/openbox-kde-session
pankso@13564 50 rm $fs/usr/bin/gnome-panel-control
pankso@13564 51 rm $fs/usr/bin/gdm-control
pankso@13564 52 chmod 0755 $fs/usr/bin/openbox-session
pankso@13564 53
pankso@13564 54 # Python XDG script --> openbox-python
pankso@13564 55 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
pankso@13564 56 patch -p1 $fs/usr/lib/openbox/openbox-autostart \
pankso@13564 57 -i $stuff/openbox-autostart.patch || exit 1
pankso@13564 58
pankso@13564 59 # Just Onyx Themes --> openbox-themes
pankso@13564 60 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
pankso@13564 61
pankso@13564 62 # Xsessions
pankso@13564 63 cp -a $stuff/xsessions $fs/usr/share
pankso@13564 64
pankso@13564 65 # Pipe menu.
pankso@13564 66 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
pankso@13564 67
pankso@13564 68 # Set perms.
pankso@13564 69 chown -R root.root $fs
pankso@13564 70 }