wok annotate snownews/receipt @ rev 20167

Up smtube, smplayer (18.1.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Jan 11 13:05:26 2018 +0100 (2018-01-11)
parents 3ba8d2c9720d
children 6135577f4d08
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"
paul@2048 6 SHORT_DESC="Text mode RSS newsreader."
paul@2048 7 MAINTAINER="paul@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@15001 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15001 10 WEB_SITE="http://kiza.kcore.de/software/snownews/index.en"
pascal@15001 11 WGET_URL="https://kiza.kcore.de/software/snownews/download/$TARBALL"
pascal@15001 12
pascal@5007 13 DEPENDS="libxml2 ncurses zlib libcrypto"
paul@4405 14 BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \
pascal@12456 15 openssl-dev acl libcroco wget"
paul@2048 16
paul@2048 17 # Rules to configure and make the package.
paul@2048 18 compile_rules()
paul@2048 19 {
pascal@17673 20 sed -i 's|lncurses|& -ltinfo|' *
paul@2048 21 ./configure --prefix=/usr &&
pascal@15001 22 make && make DESTDIR=$DESTDIR install
paul@2048 23 }
paul@2048 24
paul@2048 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2048 26 genpkg_rules()
paul@2048 27 {
paul@2048 28 mkdir -p $fs/usr/share
pascal@15001 29 cp -a $install/usr/bin $fs/usr
pascal@15001 30 cp -a $install/usr/share/locale $fs/usr/share
paul@2048 31 }