wok-undigest annotate 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 |
rev | line source |
---|---|
paul@1215 | 1 # SliTaz package receipt. |
paul@1215 | 2 |
paul@1215 | 3 PACKAGE="fvwm" |
paul@1215 | 4 VERSION="2.6.7" |
paul@1215 | 5 CATEGORY="x-window" |
paul@1215 | 6 SHORT_DESC="FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop window manager for the X Window system." |
paul@1215 | 7 MAINTAINER="aledie@slitaz.org" |
paul@1215 | 8 LICENSE="GPL2" |
paul@1215 | 9 WEB_SITE="http://www.fvwm.org" |
paul@1215 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1215 | 11 WGET_URL="https://github.com/fvwmorg/fvwm/releases/download/$VERSION/$TARBALL" |
paul@1215 | 12 TAGS="window-manager" |
paul@1215 | 13 |
paul@1215 | 14 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" |
paul@1215 | 15 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" |
paul@1215 | 16 |
paul@1215 | 17 # Rules to configure and make the package. |
paul@1215 | 18 compile_rules() |
paul@1215 | 19 { |
paul@1215 | 20 ./configure $CONFIGURE_ARGS && make && make install |
paul@1215 | 21 } |
paul@1215 | 22 |
paul@1215 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1215 | 24 genpkg_rules() |
paul@1215 | 25 { |
paul@1215 | 26 cp -a $install/* $fs |
paul@1215 | 27 } |
paul@1215 | 28 |
paul@1215 | 29 post_install() |
paul@1215 | 30 { |
paul@1215 | 31 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) |
paul@1215 | 32 # Adding WM to SLIM available sessions. |
paul@1215 | 33 if ! echo "$res" | grep -q $PACKAGE; then |
paul@1215 | 34 echo -n "Adding $PACKAGE to /etc/slim.conf..." |
paul@1215 | 35 sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" |
paul@1215 | 36 status |
paul@1215 | 37 fi |
paul@1215 | 38 } |
paul@1215 | 39 |
paul@1215 | 40 post_remove() |
paul@1215 | 41 { |
paul@1215 | 42 # Remove WM from SLIM available sessions. |
paul@1215 | 43 if grep -q $PACKAGE "$1/etc/slim.conf"; then |
paul@1215 | 44 sed -i s/,$PACKAGE// "$1/etc/slim.conf" |
paul@1215 | 45 fi |
paul@1215 | 46 } |
paul@1215 | 47 |