wok-next view spectrwm/receipt @ rev 19647
Forgotten changes: libdrm-*, dbus, fontconfig, harfbuzz, libdrm, pixman, xorg-glproto.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 23 00:58:26 2017 +0200 (2017-02-23) |
parents | |
children | 7eb047d2b438 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spectrwm"
4 VERSION="2.7.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Small dynamic tiling window manager for X11"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="ISC MIT"
9 WEB_SITE="https://opensource.conformal.com/wiki/spectrwm"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL"
12 CONFIG_FILES="/etc/spectrwm.conf"
13 TAGS="tile window-manager"
15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \
17 xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \
18 xcb-util-keysyms-dev xorg-libXt-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd linux
24 PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 mkdir -p $fs/etc
32 # copy conf files (few more exists in $src)
33 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
34 # "switch on" keyboard mapping
35 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
36 $fs/etc/spectrwm.conf
37 }