wok annotate notify-python/receipt @ rev 4336
Add: notify-python (Python binding to libnotify)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 30 22:46:08 2009 +0200 (2009-09-30) |
parents | |
children | bee79018e13a |
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 DEPENDS="python libnotify" |
pankso@4336 | 9 BUILD_DEPENDS="python-dev libnotify-dev" |
pankso@4336 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4336 | 11 WEB_SITE="http://www.galago-project.org/" |
pankso@4336 | 12 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL" |
pankso@4336 | 13 |
pankso@4336 | 14 # Rules to configure and make the package. |
pankso@4336 | 15 compile_rules() |
pankso@4336 | 16 { |
pankso@4336 | 17 cd $src |
pankso@4336 | 18 ./configure \ |
pankso@4336 | 19 --prefix=/usr \ |
pankso@4336 | 20 $CONFIGURE_ARGS && |
pankso@4336 | 21 make && |
pankso@4336 | 22 make DESTDIR=$PWD/_pkg install |
pankso@4336 | 23 } |
pankso@4336 | 24 |
pankso@4336 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4336 | 26 genpkg_rules() |
pankso@4336 | 27 { |
pankso@4336 | 28 mkdir -p $fs/usr |
pankso@4336 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@4336 | 30 cp -a $_pkg/usr/share $fs/usr |
pankso@4336 | 31 } |