wok-next view blackbox/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents de11efa2e0a0
children eb8067417980
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 libxml2-dev"
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 $install/usr/bin $fs/usr
37 cp -a $install/usr/share/blackbox $fs/usr/share
38 }