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