wok-current annotate snownews/receipt @ rev 25715

Adjust deps between abiword / abiword-plugins
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 11:52:43 2024 +0000 (5 months ago)
parents 505d1daeed6c
children
rev   line source
paul@2048 1 # SliTaz package receipt.
paul@2048 2
paul@2048 3 PACKAGE="snownews"
pascal@25557 4 VERSION="1.5.13"
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@25557 10 WEB_SITE="https://sourceforge.net/projects/snownews/"
pascal@25557 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$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
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@25557 20 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@25557 21 sed '/snownews-/!d;s/.*snownews-//;s/.tar.*//;q'
pascal@24308 22 }
pascal@24308 23
paul@2048 24 # Rules to configure and make the package.
paul@2048 25 compile_rules()
paul@2048 26 {
pascal@17673 27 sed -i 's|lncurses|& -ltinfo|' *
paul@2048 28 ./configure --prefix=/usr &&
pascal@15001 29 make && make DESTDIR=$DESTDIR install
paul@2048 30 }
paul@2048 31
paul@2048 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2048 33 genpkg_rules()
paul@2048 34 {
paul@2048 35 mkdir -p $fs/usr/share
pascal@15001 36 cp -a $install/usr/bin $fs/usr
pascal@15001 37 cp -a $install/usr/share/locale $fs/usr/share
paul@2048 38 }