wok-6.x annotate notify-python/receipt @ rev 12186
ola: Fix depends and bdeps (Tom wants also libusb)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 25 22:12:04 2012 +0200 (2012-03-25) |
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 } |