wok-current annotate notify-python/receipt @ rev 14380
back to undigest: fbpdf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 22:13:59 2013 +0200 (2013-04-22) |
parents | ad786a87b22e |
children | 3765f181a6d5 |
rev | line source |
---|---|
pankso@4336 | 1 # SliTaz package receipt. |
pankso@4336 | 2 |
pankso@4336 | 3 PACKAGE="notify-python" |
pankso@4336 | 4 VERSION="0.1.1" |
pankso@4336 | 5 CATEGORY="system-tools" |
pankso@4336 | 6 SHORT_DESC="Python binding to libnotify" |
pankso@4336 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4336 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4336 | 9 WEB_SITE="http://www.galago-project.org/" |
pankso@4336 | 10 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL" |
jozee@4969 | 11 TAGS="python" |
pankso@4336 | 12 |
slaxemulator@10827 | 13 DEPENDS="python libnotify" |
slaxemulator@10827 | 14 BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev" |
slaxemulator@10827 | 15 |
pankso@4336 | 16 # Rules to configure and make the package. |
pankso@4336 | 17 compile_rules() |
pankso@4336 | 18 { |
pankso@4336 | 19 cd $src |
pankso@4336 | 20 ./configure \ |
pankso@4336 | 21 --prefix=/usr \ |
pankso@4336 | 22 $CONFIGURE_ARGS && |
pankso@4336 | 23 make && |
slaxemulator@10827 | 24 make DESTDIR=$DESTDIR install |
pankso@4336 | 25 } |
pankso@4336 | 26 |
pankso@4336 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4336 | 28 genpkg_rules() |
pankso@4336 | 29 { |
pankso@4336 | 30 mkdir -p $fs/usr |
pankso@4336 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@4336 | 32 cp -a $_pkg/usr/share $fs/usr |
pankso@4336 | 33 } |