wok-next annotate blackbox/receipt @ rev 18000

qemu: enable curses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 25 12:57:51 2015 +0200 (2015-04-25)
parents eb8067417980
children a5b865e166cd
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@15579 8 LICENSE="MIT"
pascal@11217 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11217 10 WEB_SITE="http://blackboxwm.sourceforge.net/"
pascal@11217 11 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL"
al@17501 12 TAGS="window-manager"
pascal@11217 13
pascal@11217 14 DEPENDS="xorg-libXt xorg-libXft"
pascal@15141 15 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto libxml2-dev"
pascal@11217 16
pascal@11217 17 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc
pascal@11217 18 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'.
pascal@11217 19
pascal@11217 20 # Rules to configure and make the package.
pascal@11217 21 compile_rules()
pascal@11217 22 {
pascal@11217 23 cd $src
pascal@11217 24 patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch
pascal@11217 25 patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch
pascal@11217 26 patch -p1 < $stuff/textpropertytostring-unconditional.patch
pascal@11217 27 ./configure --sysconfdir=/etc \
pascal@11217 28 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@11217 29 $CONFIGURE_ARGS &&
pascal@11217 30 make &&
pascal@11217 31 make DESTDIR=$DESTDIR install
pascal@11217 32 }
pascal@11217 33
pascal@11217 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11217 35 genpkg_rules()
pascal@11217 36 {
pascal@11217 37 mkdir -p $fs/usr/share
pascal@15072 38 cp -a $install/usr/bin $fs/usr
pascal@15072 39 cp -a $install/usr/share/blackbox $fs/usr/share
pascal@11217 40 }