wok-current annotate notify-python/receipt @ rev 17878

Up slitaz-base-files: fix GNU sed incompatibility with busybox sed (thanks Ceel for bugreport).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 28 16:57:28 2015 +0200 (2015-03-28)
parents 3765f181a6d5
children 16df76e1fc6a
rev   line source
pankso@4336 1 # SliTaz package receipt.
pankso@4336 2
pankso@4336 3 PACKAGE="notify-python"
pankso@4336 4 VERSION="0.1.1"
pankso@4336 5 CATEGORY="system-tools"
pankso@4336 6 SHORT_DESC="Python binding to libnotify"
pankso@4336 7 MAINTAINER="pankso@slitaz.org"
pascal@15584 8 LICENSE="LGPL2.1"
pankso@4336 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4336 10 WEB_SITE="http://www.galago-project.org/"
pankso@4336 11 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
jozee@4969 12 TAGS="python"
pankso@4336 13
slaxemulator@10827 14 DEPENDS="python libnotify"
slaxemulator@10827 15 BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev"
slaxemulator@10827 16
pankso@4336 17 # Rules to configure and make the package.
pankso@4336 18 compile_rules()
pankso@4336 19 {
pascal@17605 20 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
pankso@4336 21 ./configure \
pankso@4336 22 --prefix=/usr \
pankso@4336 23 $CONFIGURE_ARGS &&
pankso@4336 24 make &&
slaxemulator@10827 25 make DESTDIR=$DESTDIR install
pankso@4336 26 }
pankso@4336 27
pankso@4336 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4336 29 genpkg_rules()
pankso@4336 30 {
pankso@4336 31 mkdir -p $fs/usr
pascal@15584 32 cp -a $install/usr/lib $fs/usr
pascal@15584 33 cp -a $install/usr/share $fs/usr
pankso@4336 34 }