wok-next view devilspie/receipt @ rev 15180

mosh: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 20 11:57:56 2013 +0000 (2013-08-20)
parents 28c3ed0aa843
children eb8067417980
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
22 sed -i \
23 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
24 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
25 src/xutils.c src/actions.c
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }