wok-next diff devilspie/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
line diff
1.1 --- a/devilspie/receipt Fri Aug 10 12:53:17 2018 +0300 1.2 +++ b/devilspie/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -1,36 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="devilspie" 1.8 VERSION="0.22" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Windows matching utility." 1.11 +SHORT_DESC="Windows matching utility" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.burtonini.com/blog/tag/devilspie.html" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.burtonini.com/blog/tag/devilspie.html" 1.18 WGET_URL="http://burtonini.com/computing/$TARBALL" 1.19 1.20 -DEPENDS="libwnck2 expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ 1.21 -xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ 1.22 -xorg-libXrandr xorg-libXrender xorg-libXdamage" 1.23 BUILD_DEPENDS="intltool libwnck2-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 +compile_rules() { 1.30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.31 - sed -i \ 1.32 - -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \ 1.33 - -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \ 1.34 - src/xutils.c src/actions.c 1.35 - ./configure $CONFIGURE_ARGS && 1.36 - make && make install 1.37 + sed \ 1.38 + -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \ 1.39 + -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \ 1.40 + -i src/xutils.c src/actions.c 1.41 + 1.42 + ./configure $CONFIGURE_ARGS && 1.43 + make && 1.44 + make install 1.45 } 1.46 1.47 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.48 -genpkg_rules() 1.49 -{ 1.50 - mkdir -p $fs/usr 1.51 - cp -a $install/usr/bin $fs/usr 1.52 +genpkg_rules() { 1.53 + copy @std 1.54 + DEPENDS="libwnck2 expat gtk2 xorg-libX11 xorg-libXau xorg-libXcomposite \ 1.55 + xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ 1.56 + xorg-libXrandr xorg-libXrender xorg-libXdamage" 1.57 }