wok annotate devilspie/receipt @ rev 17132

lrzsz: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 09 16:32:29 2014 +0200 (2014-09-09)
parents 1ae5963f23df
children 17e313b5b9c1
rev   line source
pankso@1276 1 # SliTaz package receipt.
pankso@1276 2
pankso@1276 3 PACKAGE="devilspie"
pankso@1276 4 VERSION="0.22"
pankso@1276 5 CATEGORY="x-window"
pankso@1276 6 SHORT_DESC="Windows matching utility."
pankso@1276 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@9928 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@9928 10 WEB_SITE="http://burtonini.com/blog/computers/devilspie"
erjo@9928 11 WGET_URL="http://burtonini.com/computing/$TARBALL"
erjo@9928 12
pascal@2488 13 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2488 14 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@2514 15 xorg-libXrandr xorg-libXrender xorg-libXdamage"
erjo@9928 16 BUILD_DEPENDS="intltool libwnck-dev"
pankso@1276 17
pankso@1276 18 # Rules to configure and make the package.
pankso@1276 19 compile_rules()
pankso@1276 20 {
pankso@1276 21 cd $src
pascal@15110 22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
pascal@9360 23 sed -i \
pascal@9359 24 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
pascal@9360 25 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
pascal@9359 26 src/xutils.c src/actions.c
slaxemulator@10299 27 ./configure $CONFIGURE_ARGS &&
slaxemulator@10299 28 make && make install
pankso@1276 29 }
pankso@1276 30
pankso@1276 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1276 32 genpkg_rules()
pankso@1276 33 {
pankso@1276 34 mkdir -p $fs/usr
pascal@15110 35 cp -a $install/usr/bin $fs/usr
pankso@1276 36 }