wok-current view devilspie/receipt @ rev 14560

thunderbird-langpack-ru: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:43 2013 +0200 (2013-05-23)
parents b8fe7e19466a
children 1ae5963f23df
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://burtonini.com/blog/computers/devilspie"
10 WGET_URL="http://burtonini.com/computing/$TARBALL"
12 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
13 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
14 xorg-libXrandr xorg-libXrender xorg-libXdamage"
15 BUILD_DEPENDS="intltool libwnck-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i \
22 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
23 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
24 src/xutils.c src/actions.c
25 ./configure $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }