wok-next diff spectrwm/receipt @ rev 18793
Up tazlito (411). get-vivaldi: update deps.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Jan 07 00:53:23 2016 +0000 (2016-01-07) |
parents | |
children | 7eb047d2b438 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spectrwm/receipt Thu Jan 07 00:53:23 2016 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="spectrwm" 1.7 +VERSION="2.7.2" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Small dynamic tiling window manager for X11" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="ISC MIT" 1.12 +WEB_SITE="https://opensource.conformal.com/wiki/spectrwm" 1.13 +TARBALL="$PACKAGE-$VERSION.tgz" 1.14 +WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL" 1.15 +CONFIG_FILES="/etc/spectrwm.conf" 1.16 +TAGS="tile window-manager" 1.17 + 1.18 +DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft" 1.19 +BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \ 1.20 +xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \ 1.21 +xcb-util-keysyms-dev xorg-libXt-dev" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + cd linux 1.27 + PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/* $fs 1.34 + mkdir -p $fs/etc 1.35 + # copy conf files (few more exists in $src) 1.36 + cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc 1.37 + # "switch on" keyboard mapping 1.38 + sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \ 1.39 + $fs/etc/spectrwm.conf 1.40 +}