wok view devilspie/receipt @ rev 24869
Up zlib (1.2.12) CVE-2018-25032
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 30 20:15:06 2022 +0000 (2022-03-30) |
parents | bfabe25c21ff |
children | 00e3b45c063b |
line source
1 # SliTaz package receipt.
3 PACKAGE="devilspie"
4 VERSION="0.22"
5 CATEGORY="x-window"
6 SHORT_DESC="Windows matching utility."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.burtonini.com/blog/tag/devilspie.html"
11 WGET_URL="http://burtonini.com/computing/$TARBALL"
13 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
15 xorg-libXrandr xorg-libXrender xorg-libXdamage"
16 BUILD_DEPENDS="intltool libwnck-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/devils-pie/!d;s|.*devils-pie-||;s|/.*||;s|-|.|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
30 sed -i \
31 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
32 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
33 src/xutils.c src/actions.c
34 ./configure $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }