wok-6.x annotate notify-python/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (20 months ago) |
parents | c15fedfb9582 |
children |
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" |
pascal@25443 | 10 WEB_SITE="https://web.archive.org/web/20220328061829/https://galago-project.org/news/index.php" |
pascal@25560 | 11 WGET_URL="https://web.archive.org/web/20210506225836if_/https://www.galago-project.org/files/releases/source/$PACKAGE/$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 } |