wok-6.x annotate notify-python/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents 16df76e1fc6a
children df63c4ce07f8
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
pascal@24453 17 # What is the latest version available today?
pascal@24453 18 current_version()
pascal@24453 19 {
pascal@24453 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 22 }
pascal@24453 23
pankso@4336 24 # Rules to configure and make the package.
pankso@4336 25 compile_rules()
pankso@4336 26 {
al@18077 27 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
al@18077 28 ./configure \
al@18077 29 --prefix=/usr \
al@18077 30 $CONFIGURE_ARGS &&
al@18077 31 make &&
al@18077 32 make DESTDIR=$DESTDIR install
pankso@4336 33 }
pankso@4336 34
pankso@4336 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4336 36 genpkg_rules()
pankso@4336 37 {
al@18077 38 mkdir -p $fs/usr
al@18077 39 cp -a $install/usr/lib $fs/usr
al@18077 40 cp -a $install/usr/share $fs/usr
pankso@4336 41 }