wok-undigest diff fvwm/receipt @ rev 1229
updated libgio and libgio-dev (2.43.3 -> 2.62.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Sep 09 14:00:14 2020 +0100 (2020-09-09) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fvwm/receipt Wed Sep 09 14:00:14 2020 +0100 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fvwm" 1.7 +VERSION="2.6.7" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop window manager for the X Window system." 1.10 +MAINTAINER="aledie@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.fvwm.org" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/fvwmorg/fvwm/releases/download/$VERSION/$TARBALL" 1.15 +TAGS="window-manager" 1.16 + 1.17 +DEPENDS="bzlib cairo fontconfig freetype fribidi glib harfbuzz libffi libpng libpng+apng librsvg libstroke libxcb libxml2 ossp-uuid pcre pixman xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama xorg-libXpm xorg-libXrender zlib readline" 1.18 +BUILD_DEPENDS="slitaz-toolchain slitaz-dev-pkgs cairo-dev fontconfig-dev freetype-dev fribidi-dev glib-dev harfbuzz-dev libffi-dev libpng-dev libpng+apng-dev librsvg-dev libstroke-dev libxcb-dev libxml2-dev ossp-uuid-dev pcre-dev pixman-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXcursor-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev xorg-libXrender-dev zlib-dev readline-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./configure $CONFIGURE_ARGS && make && make install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/* $fs 1.30 +} 1.31 + 1.32 +post_install() 1.33 +{ 1.34 + res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) 1.35 + # Adding WM to SLIM available sessions. 1.36 + if ! echo "$res" | grep -q $PACKAGE; then 1.37 + echo -n "Adding $PACKAGE to /etc/slim.conf..." 1.38 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" 1.39 + status 1.40 + fi 1.41 +} 1.42 + 1.43 +post_remove() 1.44 +{ 1.45 + # Remove WM from SLIM available sessions. 1.46 + if grep -q $PACKAGE "$1/etc/slim.conf"; then 1.47 + sed -i s/,$PACKAGE// "$1/etc/slim.conf" 1.48 + fi 1.49 +} 1.50 +