wok-current view newsbeuter/receipt @ rev 19611
busybox: replace 1.25 stuff by 1.26 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 16:36:32 2017 +0100 (2017-01-08) |
parents | 26f4ea03da32 |
children | a78610b2eb47 |
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="http://newsbeuter.org/"
11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
13 DEPENDS="gcc49-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 gcc49"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile
21 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH"
22 make CC=gcc-49 CXX=g++-49 &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr/
31 }