wok view newsbeuter/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | c7da5d8a0b77 |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="newsbeuter"
4 VERSION="2.9"
5 CATEGORY="network"
6 SHORT_DESC="RSS/Atom feed reader for text terminals."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://newsbeuter.org/"
11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
13 DEPENDS="gcc83-lib-base libxml2 libjson-c curl sqlite stfl"
14 BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \
15 sqlite-dev stfl-dev ncursesw-dev gcc83 gcc83-lib-base"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/newsboat/newsboat/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/r*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|is_error(\([^)]*\))|\1 == nullptr|' src/*.cpp
28 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile
29 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH"
30 make CC=gcc-83 CXX=g++-83 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr/
39 }