wok view blackbox/receipt @ rev 19414

Up slitaz-dev-tools (258)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 24 14:47:43 2016 +0200 (2016-09-24)
parents 5d53e8ccbc8d
children 6e8b1bcb30e2
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 WEB_SITE="http://blackboxwm.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/blackboxwm/$TARBALL"
12 TAGS="window-manager"
14 DEPENDS="xorg-libXt xorg-libXft"
15 BUILD_DEPENDS="xorg-libXt-dev xorg-libXft-dev xorg-xextproto libxml2-dev"
17 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc
18 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'.
20 # Rules to configure and make the package.
21 compile_rules()
22 {
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
27 ./configure \
28 --sysconfdir=/etc \
29 --libexecdir=/usr/bin \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/blackbox $fs/usr/share
42 }