wok-current view notify-python/receipt @ rev 18067
ppp.cgi: use 'vpn' and 'modem' icons. (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 18 20:15:58 2015 +0200 (2015-05-18) |
parents | 3765f181a6d5 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.galago-project.org/"
11 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
12 TAGS="python"
14 DEPENDS="python libnotify"
15 BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share $fs/usr
34 }