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

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 4a67f7e79846
children c022997c7a57
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="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.galago-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
14 BUILD_DEPENDS="python-dev libnotify-dev pygtk-dev"
15 SPLIT="notify-python-dev"
17 compile_rules() {
18 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make -j 1 DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 notify-python)
29 copy @std
30 DEPENDS="python libnotify"
31 TAGS="python"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }