wok-next view notify-python/receipt @ rev 20583
Add notify-python-dev; fix blueman
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:11:04 2018 +0300 (2018-04-14) |
parents | d43bf7aae921 |
children | 4a67f7e79846 |
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 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 notify-python)
28 copy @std
29 DEPENDS="python libnotify"
30 TAGS="python"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }