wok view snownews/receipt @ rev 25226

updated python-pynacl (1.3.0 -> 1.4.0)
author Hans-G?nter Theisgen
date Wed Jul 13 16:46:32 2022 +0100 (2022-07-13)
parents b569b85b0fb9
children 4ca444413f2c
line source
1 # SliTaz package receipt.
3 PACKAGE="snownews"
4 VERSION="1.5.12"
5 CATEGORY="network"
6 SHORT_DESC="Text mode RSS newsreader."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/kouya/snownews"
11 WGET_URL="https://ftp.radix.pro/slackware/slackware64-14.2/source/n/$PACKAGE/$TARBALL"
13 DEPENDS="libxml2 ncurses zlib libcrypto"
14 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \
15 openssl-dev acl libcroco wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|lncurses|& -ltinfo|' *
28 ./configure --prefix=/usr &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/locale $fs/usr/share
38 }