wok diff openbox/receipt @ rev 357

Now SliTaz have got a *box... Openbox (with obconf)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 07 16:23:33 2008 +0100 (2008-03-07)
parents
children 8226e93c0792
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openbox/receipt	Fri Mar 07 16:23:33 2008 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openbox"
     1.7 +VERSION="3.4.6.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Small-footprint and standard compliant Window Manager."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="startup-notification pango glib xorg-libX11"
    1.12 +SUGGESTED="obconf hsetroot"
    1.13 +BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://icculus.org/openbox/"
    1.16 +WGET_URL="http://icculus.org/openbox/releases/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	chmod +x install-sh
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS
    1.29 +	make
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $_pkg/usr/share/themes $fs/usr/share
    1.40 +	# We dont have GNOME or KDE
    1.41 +	rm $fs/usr/bin/openbox-gnome-session
    1.42 +	rm $fs/usr/bin/openbox-kde-session
    1.43 +	rm $fs/usr/bin/gnome-panel-control
    1.44 +	chmod 0755 $fs/usr/bin/openbox-session
    1.45 +	# Menu config and autostart script.
    1.46 +	mkdir -p $fs/etc/xdg
    1.47 +	cp -a stuff/openbox $fs/etc/xdg
    1.48 +	chown -R root.root $fs
    1.49 +}