wok-6.x view devilspie/receipt @ rev 9359

devilspie: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 14:58:16 2011 +0100 (2011-03-20)
parents 51e64507dfaf
children 7658d8e5e4fa
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 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
10 xorg-libXrandr xorg-libXrender xorg-libXdamage"
11 BUILD_DEPENDS="intltool"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://burtonini.com/blog/computers/devilspie"
14 WGET_URL="http://burtonini.com/computing/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
21 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
22 src/xutils.c src/actions.c
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }