wok annotate notify-python/receipt @ rev 22318

updated yad-gtk2, yad-gtk2-html and yad-gtk3 (0.28.1 -> 0.40.0)
author Hans-G?nter Theisgen
date Thu Nov 14 15:39:07 2019 +0100 (2019-11-14)
parents 618eee5446f4
children 241fb98cab1c
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"
pascal@15584 8 LICENSE="LGPL2.1"
pankso@4336 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4336 10 WEB_SITE="http://www.galago-project.org/"
pankso@4336 11 WGET_URL="http://www.galago-project.org/files/releases/source/notify-python/$TARBALL"
jozee@4969 12 TAGS="python"
pankso@4336 13
slaxemulator@10827 14 DEPENDS="python libnotify"
slaxemulator@10827 15 BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev"
slaxemulator@10827 16
pankso@4336 17 # Rules to configure and make the package.
pankso@4336 18 compile_rules()
pankso@4336 19 {
al@18077 20 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
al@18077 21 ./configure \
al@18077 22 --prefix=/usr \
al@18077 23 $CONFIGURE_ARGS &&
al@18077 24 make &&
al@18077 25 make DESTDIR=$DESTDIR install
pankso@4336 26 }
pankso@4336 27
pankso@4336 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4336 29 genpkg_rules()
pankso@4336 30 {
al@18077 31 mkdir -p $fs/usr
al@18077 32 cp -a $install/usr/lib $fs/usr
al@18077 33 cp -a $install/usr/share $fs/usr
pankso@4336 34 }