wok-6.x annotate newsbeuter/receipt @ rev 19557
fusecloop: update advancecomp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 14 09:22:13 2016 +0100 (2016-12-14) |
parents | 26f4ea03da32 |
children | a78610b2eb47 |
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@18445 | 10 WEB_SITE="http://newsbeuter.org/" |
pascal@18445 | 11 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@18445 | 12 |
pascal@18445 | 13 DEPENDS="gcc49-lib-base libxml2 libjson-c curl sqlite stfl" |
pascal@18445 | 14 BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \ |
pascal@18449 | 15 sqlite-dev stfl-dev ncursesw-dev gcc49" |
pascal@18445 | 16 |
pascal@18445 | 17 # Rules to configure and make the package. |
pascal@18445 | 18 compile_rules() |
pascal@18445 | 19 { |
pascal@18445 | 20 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile |
pascal@18445 | 21 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" |
pascal@18445 | 22 make CC=gcc-49 CXX=g++-49 && |
pascal@18445 | 23 make DESTDIR=$DESTDIR install |
pascal@18445 | 24 } |
pascal@18445 | 25 |
pascal@18445 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18445 | 27 genpkg_rules() |
pascal@18445 | 28 { |
pascal@18445 | 29 mkdir -p $fs/usr |
pascal@18445 | 30 cp -a $install/usr/bin $fs/usr/ |
pascal@18445 | 31 } |