wok-next annotate notify-python/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@20513 1 # SliTaz package receipt v2.
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15584 8 LICENSE="LGPL2.1"
al@21020 9 WEB_SITE="http://www.galago-project.org/news/index.php"
al@20513 10
pankso@4336 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4336 12 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
pankso@4336 13
al@20980 14 BUILD_DEPENDS="gfortran python-dev libnotify-dev python-pygtk-dev"
al@20980 15 SPLIT="$PACKAGE-dev"
slaxemulator@10827 16
al@21081 17 DEPENDS_std="gdk-pixbuf glib libnotify python python-pygtk"
al@21081 18
al@21081 19 TAGS_std="python"
al@21081 20
al@20513 21 compile_rules() {
al@20980 22 # sed -i 's|, attach||; s| attach[^;]*||; /GtkWidget .attach/d' src/pynotify.c
al@20513 23
al@20980 24 ./configure $CONFIGURE_ARGS || return 1
al@20980 25
al@20980 26 fix libtool
al@20980 27
al@20980 28 # we touch src/pynotify.override in build because upstream did not rebuild
al@20980 29 # pynotify.c from the input definitions, this forces pynotify.c to be
al@20980 30 # regenerated, at some point this can be removed
al@20980 31 touch src/pynotify.override
al@20980 32
al@20980 33 make clean &&
al@20583 34 make &&
al@20980 35 make -j1 install
pankso@4336 36 }