wok-next annotate spectrwm/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 7eb047d2b438
children 8e1b2a143eb3
rev   line source
al@18177 1 # SliTaz package receipt.
al@18177 2
al@18177 3 PACKAGE="spectrwm"
al@18177 4 VERSION="2.7.2"
al@18177 5 CATEGORY="x-window"
al@18177 6 SHORT_DESC="Small dynamic tiling window manager for X11"
al@18177 7 MAINTAINER="al.bobylev@gmail.com"
al@18177 8 LICENSE="ISC MIT"
al@18177 9 WEB_SITE="https://opensource.conformal.com/wiki/spectrwm"
al@18177 10 TARBALL="$PACKAGE-$VERSION.tgz"
al@18177 11 WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL"
al@18177 12 CONFIG_FILES="/etc/spectrwm.conf"
al@18177 13 TAGS="tile window-manager"
al@18177 14
al@20450 15 DEPENDS="xorg-xcb-util xorg-xcb-util-keysyms xorg-xcb-util-wm xorg-libXcursor xorg-libXft"
al@20513 16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev \
al@20450 17 xorg-libXcursor-dev xorg-libXft-dev xorg-xcb-util-dev xorg-xcb-util-wm-dev \
al@20450 18 xorg-xcb-util-keysyms-dev xorg-libXt-dev"
al@18177 19
al@18177 20 # Rules to configure and make the package.
al@18177 21 compile_rules()
al@18177 22 {
al@18177 23 cd linux
al@18177 24 PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install
al@18177 25 }
al@18177 26
al@18177 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18177 28 genpkg_rules()
al@18177 29 {
al@18177 30 cp -a $install/* $fs
al@18177 31 mkdir -p $fs/etc
al@18177 32 # copy conf files (few more exists in $src)
al@18177 33 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
al@18177 34 # "switch on" keyboard mapping
al@18177 35 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
al@18177 36 $fs/etc/spectrwm.conf
al@18177 37 }