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

libopenraw, abiword: update deps; boost: pack unpacked libs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 05:42:25 2018 +0300 (2018-08-21)
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 }