wok-6.x annotate devilspie/receipt @ rev 9449

Fixed gnu-netcat. Make sure to remake nc softlink for busybox on post remove.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 02 10:23:18 2011 +0000 (2011-04-02)
parents a0affa57b337
children b8fe7e19466a
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"
pascal@2488 8 DEPENDS="libwnck expat gtk+ xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2488 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@2514 10 xorg-libXrandr xorg-libXrender xorg-libXdamage"
gokhlayeh@8802 11 BUILD_DEPENDS="intltool"
pankso@1276 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@1276 13 WEB_SITE="http://burtonini.com/blog/computers/devilspie"
pankso@1276 14 WGET_URL="http://burtonini.com/computing/$TARBALL"
pankso@1276 15
pankso@1276 16 # Rules to configure and make the package.
pankso@1276 17 compile_rules()
pankso@1276 18 {
pankso@1276 19 cd $src
pascal@9360 20 sed -i \
pascal@9359 21 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
pascal@9360 22 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
pascal@9359 23 src/xutils.c src/actions.c
pankso@1276 24 ./configure \
pankso@1276 25 --prefix=/usr \
pascal@1529 26 $CONFIGURE_ARGS &&
pascal@1529 27 make &&
pankso@1276 28 make DESTDIR=$PWD/_pkg install
pankso@1276 29 }
pankso@1276 30
pankso@1276 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1276 32 genpkg_rules()
pankso@1276 33 {
pankso@1276 34 mkdir -p $fs/usr
pankso@1276 35 cp -a $_pkg/usr/bin $fs/usr
pankso@1276 36 }