wok view blackbox/receipt @ rev 24334

polkit: CVE-2021-4034
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 11:07:11 2022 +0000 (2022-01-28)
parents 5ea0ce1cecc0
children 6f7c7009cd62
line source
1 # SliTaz package receipt.
3 PACKAGE="blackbox"
4 VERSION="0.75"
5 CATEGORY="x-window"
6 TAGS="window-manager"
7 SHORT_DESC="A small, fast, full-featured window manager for X."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/bbidulock/blackboxwm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base xorg-libXft xorg-libXt"
16 BUILD_DEPENDS="autoconf automake gcc83 libtool libxml2-dev
17 xorg-libXft-dev xorg-libXt-dev xorg-xextproto"
19 # TODO: modify tazx for blackbox so it will creat a correct ~/.xinitrc
20 # to let user use the wm via slim/F1 or by default with 'tazx blackbox'.
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # patch -p1 < $stuff/blackbox-0.70.1-gcc-4.3.patch
32 # patch -p0 < $stuff/blackbox-0.70.1-asneeded.patch
33 # patch -p1 < $stuff/textpropertytostring-unconditional.patch
35 ./autogen.sh &&
36 ./configure \
37 CC=gcc-83 \
38 CXX=g++-83 \
39 --sysconfdir=/etc \
40 --libexecdir=/usr/bin \
41 --mandir=/usr/share/man \
42 $CONFIGURE_ARGS &&
43 make -j 4 &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/share/blackbox $fs/usr/share
54 }