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