wok-next diff newsbeuter/receipt @ rev 20936
Update cmake
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 24 15:44:57 2018 +0300 (2018-08-24) |
parents | 2809ecb8c754 |
children | fc9ee6d3aa6f |
line diff
1.1 --- a/newsbeuter/receipt Sun Oct 29 09:27:29 2017 +0100 1.2 +++ b/newsbeuter/receipt Fri Aug 24 15:44:57 2018 +0300 1.3 @@ -1,31 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="newsbeuter" 1.8 VERSION="2.9" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="RSS/Atom feed reader for text terminals." 1.11 +SHORT_DESC="RSS/Atom feed reader for text terminals" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="http://newsbeuter.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://newsbeuter.org/" 1.18 WGET_URL="${WEB_SITE}downloads/$TARBALL" 1.19 1.20 -DEPENDS="gcc49-lib-base libxml2 libjson-c curl sqlite3 stfl" 1.21 -BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \ 1.22 -sqlite3-dev stfl-dev ncurses-dev gcc49" 1.23 +BUILD_DEPENDS="gettext libxml2-dev libjson-c-dev curl-dev sqlite3-dev stfl-dev \ 1.24 +ncurses-dev gcc49" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile 1.31 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 1.32 + 1.33 make CC=gcc-49 CXX=g++-49 && 1.34 make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr 1.41 - cp -a $install/usr/bin $fs/usr/ 1.42 +genpkg_rules() { 1.43 + copy @std 1.44 + DEPENDS="gcc49-lib-base libxml2 libjson-c curl sqlite3 stfl" 1.45 }