wok view rsstail/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (16 months ago)
parents a6b997a82f39
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rsstail"
4 VERSION="2.1"
5 CATEGORY="network"
6 SHORT_DESC="RSS feed reader."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://github.com/oldlaptop/rsstail"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/ea/$TARBALL"
14 DEPENDS="curl libmrss libnxml"
15 BUILD_DEPENDS="curl-dev libcurl libnxml-dev libmrss-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/oldlaptop/rsstail/master/Makefile 2>/dev/null | \
21 sed '/VERSION/!d;s|.*=||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/-liconv_hook //' Makefile
28 make prefix=$install/usr &&
29 make install prefix=$install/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr/
37 }