wok-6.x annotate 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 |
rev | line source |
---|---|
al@18177 | 1 # SliTaz package receipt. |
al@18177 | 2 |
al@18177 | 3 PACKAGE="spectrwm" |
Hans-G?nter@23661 | 4 VERSION="3.3.0" |
al@18177 | 5 CATEGORY="x-window" |
Hans-G?nter@21936 | 6 TAGS="tile window-manager" |
Hans-G?nter@21936 | 7 SHORT_DESC="Small dynamic tiling window manager for X11." |
al@18177 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@18177 | 9 LICENSE="ISC MIT" |
pascal@20679 | 10 WEB_SITE="https://github.com/conformal/spectrwm" |
Hans-G?nter@21936 | 11 |
Hans-G?nter@21936 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21936 | 13 WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz" |
al@18177 | 14 |
al@18177 | 15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft" |
Hans-G?nter@23661 | 16 BUILD_DEPENDS="cacerts xcb-util-dev xcb-util-keysyms-dev xcb-util-wm-dev |
Hans-G?nter@23661 | 17 xorg-libX11-dev xorg-libXcursor-dev xorg-libXft-dev |
Hans-G?nter@23661 | 18 xorg-libXrandr-dev xorg-libXt-dev" |
Hans-G?nter@21936 | 19 |
Hans-G?nter@21936 | 20 CONFIG_FILES="/etc/spectrwm.conf" |
al@18177 | 21 |
al@18177 | 22 # Rules to configure and make the package. |
al@18177 | 23 compile_rules() |
al@18177 | 24 { |
al@18177 | 25 cd linux |
Hans-G?nter@21936 | 26 make PREFIX=/usr && |
Hans-G?nter@21936 | 27 make install PREFIX=/usr DESTDIR=$install |
al@18177 | 28 } |
al@18177 | 29 |
al@18177 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18177 | 31 genpkg_rules() |
al@18177 | 32 { |
al@18177 | 33 mkdir -p $fs/etc |
Hans-G?nter@21936 | 34 |
Hans-G?nter@23661 | 35 cp -a $install/* $fs |
Hans-G?nter@23661 | 36 |
Hans-G?nter@23661 | 37 # copy configuration files (few more exist in $src) |
Hans-G?nter@23661 | 38 cp $src/spectrwm.conf $fs/etc |
Hans-G?nter@23661 | 39 cp $src/spectrwm_us.conf $fs/etc |
Hans-G?nter@21936 | 40 |
al@18177 | 41 # "switch on" keyboard mapping |
al@18177 | 42 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \ |
al@18177 | 43 $fs/etc/spectrwm.conf |
al@18177 | 44 } |