wok view snownews/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 6135577f4d08 |
children | 505d1daeed6c |
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://kiza.kcore.de/software/snownews/download/$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 }