wok-next annotate devilspie/receipt @ rev 15360
python-numpy: hide conftest.c errors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 17:16:06 2013 +0000 (2013-10-01) |
parents | 28c3ed0aa843 |
children | eb8067417980 |
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" |
erjo@9928 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@9928 | 9 WEB_SITE="http://burtonini.com/blog/computers/devilspie" |
erjo@9928 | 10 WGET_URL="http://burtonini.com/computing/$TARBALL" |
erjo@9928 | 11 |
pascal@2488 | 12 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@2488 | 13 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pascal@2514 | 14 xorg-libXrandr xorg-libXrender xorg-libXdamage" |
erjo@9928 | 15 BUILD_DEPENDS="intltool libwnck-dev" |
pankso@1276 | 16 |
pankso@1276 | 17 # Rules to configure and make the package. |
pankso@1276 | 18 compile_rules() |
pankso@1276 | 19 { |
pankso@1276 | 20 cd $src |
pascal@15110 | 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
pascal@9360 | 22 sed -i \ |
pascal@9359 | 23 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \ |
pascal@9360 | 24 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \ |
pascal@9359 | 25 src/xutils.c src/actions.c |
slaxemulator@10299 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10299 | 27 make && make install |
pankso@1276 | 28 } |
pankso@1276 | 29 |
pankso@1276 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1276 | 31 genpkg_rules() |
pankso@1276 | 32 { |
pankso@1276 | 33 mkdir -p $fs/usr |
pascal@15110 | 34 cp -a $install/usr/bin $fs/usr |
pankso@1276 | 35 } |