wok annotate openbox-imlib2/receipt @ rev 14041
gst-plugins-good: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 16:15:19 2013 +0100 (2013-02-18) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@13564 | 1 # SliTaz package receipt. |
pankso@13564 | 2 |
pankso@13564 | 3 PACKAGE="openbox-imlib2" |
pankso@13564 | 4 VERSION="3.5.0" |
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 SUGGESTED="obconf pcmanfm hsetroot" |
pankso@13564 | 9 MAINTAINER="pankso@slitaz.org" |
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" |
pankso@13564 | 13 TAGS="window-manager wm" |
pankso@13564 | 14 PROVIDE="openbox" |
pankso@13564 | 15 |
pankso@13564 | 16 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \ |
pankso@13564 | 17 xorg-libXrandr xorg-libXft libxml2 imlib2 slitaz-configs" |
pankso@13564 | 18 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \ |
pankso@13564 | 19 xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev" |
pankso@13564 | 20 |
pankso@13564 | 21 # Rules to configure and make the package. |
pankso@13564 | 22 compile_rules() |
pankso@13564 | 23 { |
pankso@13564 | 24 cd $src |
pankso@13564 | 25 chmod +x install-sh |
pankso@13564 | 26 ./configure \ |
pankso@13564 | 27 --prefix=/usr \ |
pankso@13564 | 28 --sysconfdir=/etc \ |
pankso@13564 | 29 --libexecdir=/usr/lib/openbox \ |
pankso@13564 | 30 $CONFIGURE_ARGS && |
pankso@13564 | 31 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && |
pankso@13564 | 32 make && |
pankso@13564 | 33 make -j1 DESTDIR=$DESTDIR install && |
pankso@13564 | 34 rm -rf $install/usr/share/applications |
pankso@13564 | 35 } |
pankso@13564 | 36 |
pankso@13564 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13564 | 38 genpkg_rules() |
pankso@13564 | 39 { |
pankso@13564 | 40 mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes |
pankso@13564 | 41 cp -a $install/usr/bin $fs/usr |
pankso@13564 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13564 | 43 cp -a $install/usr/lib/openbox $fs/usr/lib |
pankso@13564 | 44 |
pankso@13564 | 45 # We dont have GNOME or KDE |
pankso@13564 | 46 rm $fs/usr/bin/openbox-gnome-session |
pankso@13564 | 47 rm $fs/usr/bin/openbox-kde-session |
pankso@13564 | 48 rm $fs/usr/bin/gnome-panel-control |
pankso@13564 | 49 rm $fs/usr/bin/gdm-control |
pankso@13564 | 50 chmod 0755 $fs/usr/bin/openbox-session |
pankso@13564 | 51 |
pankso@13564 | 52 # Python XDG script --> openbox-python |
pankso@13564 | 53 rm -f $fs/usr/lib/openbox/openbox-xdg-autostart |
pankso@13564 | 54 patch -p1 $fs/usr/lib/openbox/openbox-autostart \ |
pankso@13564 | 55 -i $stuff/openbox-autostart.patch || exit 1 |
pankso@13564 | 56 |
pankso@13564 | 57 # Just Onyx Themes --> openbox-themes |
pankso@13564 | 58 cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes |
pankso@13564 | 59 |
pankso@13564 | 60 # Xsessions |
pankso@13564 | 61 cp -a $stuff/xsessions $fs/usr/share |
pankso@13564 | 62 |
pankso@13564 | 63 # Pipe menu. |
pankso@13564 | 64 cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox |
pankso@13564 | 65 |
pankso@13564 | 66 # Set perms. |
pankso@13564 | 67 chown -R root.root $fs |
pankso@13564 | 68 } |