wok-6.x diff blackbox/receipt @ rev 12642

xfce4-mixer: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 22:46:39 2012 +0200 (2012-04-29)
parents
children de11efa2e0a0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/blackbox/receipt	Sun Apr 29 22:46:39 2012 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="blackbox"
     1.7 +VERSION="0.70.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="A small, fast, full-featured window manager for X"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://blackboxwm.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL"
    1.14 +
    1.15 +DEPENDS="xorg-libXt xorg-libXft"
    1.16 +BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto"
    1.17 +
    1.18 +# TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc
    1.19 +# to let user use the wm via slim/F1 or by default with 'tazx blackbox'.
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	cd $src
    1.25 +	patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch
    1.26 +	patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch
    1.27 +	patch -p1 < $stuff/textpropertytostring-unconditional.patch
    1.28 +	./configure --sysconfdir=/etc \
    1.29 +	--libexecdir=/usr/bin --mandir=/usr/share/man \
    1.30 +	$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$DESTDIR install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/share
    1.39 +	cp -a $_pkg/usr/bin $fs/usr
    1.40 +	cp -a $_pkg/usr/share/blackbox $fs/usr/share
    1.41 +}