wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="blackbox" |
pascal@11217 | 4 VERSION="0.70.1" |
pascal@11217 | 5 CATEGORY="x-window" |
pascal@11217 | 6 SHORT_DESC="A small, fast, full-featured window manager for X" |
pascal@11217 | 7 MAINTAINER="devl547@gmail.com" |
pascal@11217 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11217 | 9 WEB_SITE="http://blackboxwm.sourceforge.net/" |
pascal@11217 | 10 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL" |
pascal@11217 | 11 |
pascal@11217 | 12 DEPENDS="xorg-libXt xorg-libXft" |
pascal@11217 | 13 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto" |
pascal@11217 | 14 |
pascal@11217 | 15 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc |
pascal@11217 | 16 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'. |
pascal@11217 | 17 |
pascal@11217 | 18 # Rules to configure and make the package. |
pascal@11217 | 19 compile_rules() |
pascal@11217 | 20 { |
pascal@11217 | 21 cd $src |
pascal@11217 | 22 patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch |
pascal@11217 | 23 patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch |
pascal@11217 | 24 patch -p1 < $stuff/textpropertytostring-unconditional.patch |
pascal@11217 | 25 ./configure --sysconfdir=/etc \ |
pascal@11217 | 26 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@11217 | 27 $CONFIGURE_ARGS && |
pascal@11217 | 28 make && |
pascal@11217 | 29 make DESTDIR=$DESTDIR install |
pascal@11217 | 30 } |
pascal@11217 | 31 |
pascal@11217 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 33 genpkg_rules() |
pascal@11217 | 34 { |
pascal@11217 | 35 mkdir -p $fs/usr/share |
pascal@11217 | 36 cp -a $_pkg/usr/bin $fs/usr |
pascal@11217 | 37 cp -a $_pkg/usr/share/blackbox $fs/usr/share |
pascal@11217 | 38 } |