wok view snownews/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 505d1daeed6c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="snownews"
4 VERSION="1.5.13"
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://sourceforge.net/projects/snownews/"
11 WGET_URL="$SF_MIRROR/project/$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 - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
21 sed '/snownews-/!d;s/.*snownews-//;s/.tar.*//;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 }