wok-6.x view blackbox/receipt @ rev 18480

syslinux: fix post-install when upgrade the package
No more "XXXXXXXX" here, so post_install() fails
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 03:44:14 2015 +0300 (2015-10-08)
parents eb8067417980
children a5b865e166cd
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"
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 cd $src
24 patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch
25 patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch
26 patch -p1 < $stuff/textpropertytostring-unconditional.patch
27 ./configure --sysconfdir=/etc \
28 --libexecdir=/usr/bin --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/blackbox $fs/usr/share
40 }