wok-6.x view newsbeuter/receipt @ rev 23912

linux: add CONFIG_I2C_HID
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 10:22:39 2020 +0000 (2020-08-16)
parents 4c20b3e68b20
children c7da5d8a0b77
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|is_error(\([^)]*\))|\1 == nullptr|' src/*.cpp
21 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile
22 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH"
23 make CC=gcc-83 CXX=g++-83 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr/
32 }