wok-next annotate snownews/receipt @ rev 21041

Follow HTTP redirections for homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 09 13:21:03 2018 +0200 (2018-11-09)
parents d5aab818505e
children 09261db2351d
rev   line source
paul@2048 1 # SliTaz package receipt.
paul@2048 2
paul@2048 3 PACKAGE="snownews"
paul@4405 4 VERSION="1.5.12"
pascal@2054 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Text mode RSS newsreader"
paul@2048 7 MAINTAINER="paul@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@21041 9 WEB_SITE="https://github.com/kouya/snownews"
al@21020 10
pascal@15001 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21041 12 WGET_URL="https://kiza.kcore.de/software/snownews/download/$TARBALL" # FIXME
pascal@15001 13
al@21020 14 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext-dev perl \
pascal@12456 15 openssl-dev acl libcroco wget"
paul@2048 16
al@21020 17 compile_rules() {
al@21020 18 ./configure \
al@21020 19 --prefix=/usr &&
al@21020 20 make &&
al@21020 21 make DESTDIR=$install install
paul@2048 22 }
paul@2048 23
al@21020 24 genpkg_rules() {
paul@2048 25 mkdir -p $fs/usr/share
pascal@15001 26 cp -a $install/usr/bin $fs/usr
pascal@15001 27 cp -a $install/usr/share/locale $fs/usr/share
al@21020 28 DEPENDS="libxml2 ncurses zlib openssl"
paul@2048 29 }