wok view devilspie/receipt @ rev 9505
Up slitaz-configs (4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 04:42:39 2011 +0200 (2011-04-06) |
parents | a0affa57b337 |
children | b8fe7e19466a |
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 \
21 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
22 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
23 src/xutils.c src/actions.c
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 }