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