wok view notify-python/receipt @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (21 months ago) |
parents | df63c4ce07f8 |
children | 9600878fc758 |
line source
1 # SliTaz package receipt.
3 PACKAGE="notify-python"
4 VERSION="0.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python binding to libnotify"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://web.archive.org/web/20220328061829/https://galago-project.org/news/index.php"
11 WGET_URL="https://ftp.radix.pro/slackware/slackware_source/l/$PACKAGE/$TARBALL"
12 TAGS="python"
14 DEPENDS="python libnotify"
15 BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/, attach//;s/ attach[^;]*//;/GtkWidget .attach/d' src/pynotify.c
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }