wok-current view newsbeuter/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | 870e1ce31226 |
children |
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://www.newsboat.org/"
11 WGET_URL="https://ftp.kaist.ac.kr/macports/distfiles/$PACKAGE/$TARBALL"
12 PROVIDE="newsboat"
14 DEPENDS="gcc83-lib-base libxml2 libjson-c curl sqlite stfl"
15 BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \
16 sqlite-dev stfl-dev ncursesw-dev gcc83 gcc83-lib-base"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/newsboat/newsboat/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/r*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|is_error(\([^)]*\))|\1 == nullptr|' src/*.cpp
29 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile
30 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH"
31 make CC=gcc-83 CXX=g++-83 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr/
40 }