wok-next view notify-python/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 24a54f99ff54
children d635206a5649
line source
1 # SliTaz package receipt v2.
3 PACKAGE="notify-python"
4 VERSION="0.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python binding to libnotify"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.galago-project.org/news/index.php"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
14 BUILD_DEPENDS="gfortran python-dev libnotify-dev python-pygtk-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # sed -i 's|, attach||; s| attach[^;]*||; /GtkWidget .attach/d' src/pynotify.c
20 ./configure $CONFIGURE_ARGS || return 1
22 fix libtool
24 # we touch src/pynotify.override in build because upstream did not rebuild
25 # pynotify.c from the input definitions, this forces pynotify.c to be
26 # regenerated, at some point this can be removed
27 touch src/pynotify.override
29 make clean &&
30 make &&
31 make -j1 install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 notify-python)
37 copy @std
38 DEPENDS="gdk-pixbuf glib libnotify python python-pygtk"
39 TAGS="python"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }