wok annotate snownews/receipt @ rev 24406

updated clamav and clamav-dev (0.102.3 -> 0.104.2)
author Hans-G?nter Theisgen
date Wed Feb 09 13:44:54 2022 +0100 (2022-02-09)
parents 6135577f4d08
children 505d1daeed6c
rev   line source
paul@2048 1 # SliTaz package receipt.
paul@2048 2
paul@2048 3 PACKAGE="snownews"
paul@4405 4 VERSION="1.5.12"
pascal@2054 5 CATEGORY="network"
paul@2048 6 SHORT_DESC="Text mode RSS newsreader."
paul@2048 7 MAINTAINER="paul@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@15001 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20679 10 WEB_SITE="https://github.com/kouya/snownews"
pascal@15001 11 WGET_URL="https://kiza.kcore.de/software/snownews/download/$TARBALL"
pascal@15001 12
pascal@5007 13 DEPENDS="libxml2 ncurses zlib libcrypto"
paul@4405 14 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \
pascal@12456 15 openssl-dev acl libcroco wget"
paul@2048 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24308 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 22 }
pascal@24308 23
paul@2048 24 # Rules to configure and make the package.
paul@2048 25 compile_rules()
paul@2048 26 {
pascal@17673 27 sed -i 's|lncurses|& -ltinfo|' *
paul@2048 28 ./configure --prefix=/usr &&
pascal@15001 29 make && make DESTDIR=$DESTDIR install
paul@2048 30 }
paul@2048 31
paul@2048 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2048 33 genpkg_rules()
paul@2048 34 {
paul@2048 35 mkdir -p $fs/usr/share
pascal@15001 36 cp -a $install/usr/bin $fs/usr
pascal@15001 37 cp -a $install/usr/share/locale $fs/usr/share
paul@2048 38 }