wok-6.x view notify-python/receipt @ rev 19058
Up slitaz-boot-scripts(428), slitaz-configs(278)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 21 01:40:23 2016 +0300 (2016-04-21) |
parents | 618eee5446f4 |
children | 241fb98cab1c |
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 }