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