wok annotate spectrwm/receipt @ rev 19059

Add Lines game
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 21 03:09:40 2016 +0300 (2016-04-21)
parents
children 6135577f4d08
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@18177 15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
al@18177 16 BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \
al@18177 17 xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \
al@18177 18 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 }