wok-6.x rev 18445
Add newsbeuter
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 14:41:44 2015 +0200 (2015-09-26) |
parents | 2f4c5bbdd625 |
children | 4baff8846767 |
files | newsbeuter/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/newsbeuter/receipt Sat Sep 26 14:41:44 2015 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="newsbeuter" 1.7 +VERSION="2.9" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="RSS/Atom feed reader for text terminals." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://newsbeuter.org/" 1.14 +WGET_URL="${WEB_SITE}downloads/$TARBALL" 1.15 + 1.16 +DEPENDS="gcc49-lib-base libxml2 libjson-c curl sqlite stfl" 1.17 +BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \ 1.18 +sqlite-dev stfl-dev gcc49" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile 1.24 + export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 1.25 + make CC=gcc-49 CXX=g++-49 && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $install/usr/bin $fs/usr/ 1.34 +}