wok-6.x diff openbox-imlib2/receipt @ rev 14557

thunderbird-langpack-it: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:37 2013 +0200 (2013-05-23)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openbox-imlib2/receipt	Thu May 23 10:10:37 2013 +0200
     1.3 @@ -0,0 +1,68 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openbox-imlib2"
     1.7 +VERSION="3.5.0"
     1.8 +SOURCE="openbox"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="Small-footprint and standard compliant Window Manager (Allow icons in menus)."
    1.11 +SUGGESTED="obconf pcmanfm hsetroot"
    1.12 +MAINTAINER="pankso@slitaz.org"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://openbox.org/"
    1.15 +WGET_URL="http://openbox.org/dist/openbox/$TARBALL"
    1.16 +TAGS="window-manager wm"
    1.17 +PROVIDE="openbox"
    1.18 +
    1.19 +DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \
    1.20 +xorg-libXrandr xorg-libXft libxml2 imlib2 slitaz-configs"
    1.21 +BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \
    1.22 +xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev"
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	cd $src
    1.28 +	chmod +x install-sh
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31 +		--sysconfdir=/etc \
    1.32 +		--libexecdir=/usr/lib/openbox \
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
    1.35 +	make &&
    1.36 +	make -j1 DESTDIR=$DESTDIR install &&
    1.37 +	rm -rf $install/usr/share/applications
    1.38 +}
    1.39 +
    1.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 +genpkg_rules()
    1.42 +{
    1.43 +	mkdir -p $fs/usr/lib/openbox $fs/usr/share/themes
    1.44 +	cp -a $install/usr/bin $fs/usr
    1.45 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46 +	cp -a $install/usr/lib/openbox $fs/usr/lib
    1.47 +
    1.48 +	# We dont have GNOME or KDE
    1.49 +	rm $fs/usr/bin/openbox-gnome-session
    1.50 +	rm $fs/usr/bin/openbox-kde-session
    1.51 +	rm $fs/usr/bin/gnome-panel-control
    1.52 +	rm $fs/usr/bin/gdm-control
    1.53 +	chmod 0755 $fs/usr/bin/openbox-session
    1.54 +
    1.55 +	# Python XDG script --> openbox-python
    1.56 +	rm -f $fs/usr/lib/openbox/openbox-xdg-autostart
    1.57 +	patch -p1 $fs/usr/lib/openbox/openbox-autostart \
    1.58 +		-i $stuff/openbox-autostart.patch || exit 1
    1.59 +
    1.60 +	# Just Onyx Themes --> openbox-themes
    1.61 +	cp -a $install/usr/share/themes/Onyx* $fs/usr/share/themes
    1.62 +
    1.63 +	# Xsessions
    1.64 +	cp -a $stuff/xsessions $fs/usr/share
    1.65 +
    1.66 +	# Pipe menu.
    1.67 +	cp $stuff/open-folder-menu.sh $fs/usr/lib/openbox
    1.68 +
    1.69 +	# Set perms.
    1.70 +	chown -R root.root $fs
    1.71 +}