wok-next view blackbox/receipt @ rev 16724

Add cgal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 02 20:08:48 2014 +0000 (2014-06-02)
parents b7f230269421
children 5d53e8ccbc8d
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://blackboxwm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL"
13 DEPENDS="xorg-libXt xorg-libXft"
14 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto libxml2-dev"
16 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc
17 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'.
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch
24 patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch
25 patch -p1 < $stuff/textpropertytostring-unconditional.patch
26 ./configure --sysconfdir=/etc \
27 --libexecdir=/usr/bin --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/blackbox $fs/usr/share
39 }