wok-6.x view spectrwm/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
parents 35a3fc01466b
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="spectrwm"
4 VERSION="3.3.0"
5 CATEGORY="x-window"
6 TAGS="tile window-manager"
7 SHORT_DESC="Small dynamic tiling window manager for X11."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="ISC MIT"
10 WEB_SITE="https://github.com/conformal/spectrwm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz"
15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="cacerts xcb-util-dev xcb-util-keysyms-dev xcb-util-wm-dev
17 xorg-libX11-dev xorg-libXcursor-dev xorg-libXft-dev
18 xorg-libXrandr-dev xorg-libXt-dev"
20 CONFIG_FILES="/etc/spectrwm.conf"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd linux
26 make PREFIX=/usr &&
27 make install PREFIX=/usr DESTDIR=$install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc
35 cp -a $install/* $fs
37 # copy configuration files (few more exist in $src)
38 cp $src/spectrwm.conf $fs/etc
39 cp $src/spectrwm_us.conf $fs/etc
41 # "switch on" keyboard mapping
42 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
43 $fs/etc/spectrwm.conf
44 }