wok annotate liferea/receipt @ rev 24981

Up pce (20220220-991c55d9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 10:57:53 2022 +0000 (2022-05-08)
parents f940e42dac11
children 22471cbea549
rev   line source
devl547@5627 1 # SliTaz package receipt.
devl547@5627 2
devl547@5627 3 PACKAGE="liferea"
devl547@16232 4 VERSION="1.8.15"
devl547@5627 5 CATEGORY="utilities"
al@16691 6 SHORT_DESC="News aggregator for online news feeds"
devl547@5627 7 MAINTAINER="devl547@gmail.com"
pascal@15002 8 LICENSE="GPL2"
domcox@14104 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
devl547@5627 10 WEB_SITE="http://liferea.sourceforge.net/"
domcox@14104 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/Liferea%20Stable/$VERSION/$TARBALL"
pascal@10533 12
al@16691 13 DEPENDS="gtk+ glib pango GConf libunique libxml2 libxslt sqlite libsoup \
al@17634 14 libwebkit libnotify gnutls json-glib" #intltool?
pascal@10533 15 BUILD_DEPENDS="gtk+-dev glib-dev pango-dev GConf GConf-dev ORBit2-dev \
pascal@10533 16 libunique-dev libxml2-dev libxslt-dev sqlite-dev libsoup-dev libwebkit-dev \
pascal@10533 17 libnotify-dev gnutls-dev json-glib-dev"
devl547@5627 18
domcox@14104 19 LOCALES="da de es fr it pt_BR ru zh_CN"
domcox@14104 20
pascal@24412 21 # What is the latest version available today?
pascal@24412 22 current_version()
pascal@24412 23 {
pascal@24412 24 wget -O - https://github.com/lwindolf/liferea/releases 2>/dev/null | \
pascal@24412 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24412 26 }
pascal@24412 27
devl547@5627 28 # Rules to configure and make the package.
devl547@5627 29 compile_rules()
devl547@5627 30 {
slaxemulator@10218 31 ./configure $CONFIGURE_ARGS \
al@16691 32 --enable-sm --disable-schemas-install --enable-libnotify &&
slaxemulator@9627 33 make &&
devl547@16232 34 make DESTDIR=$DESTDIR install
devl547@5627 35 }
devl547@5627 36
devl547@5627 37 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5627 38 genpkg_rules()
devl547@5627 39 {
al@16691 40 mkdir -p $fs/usr/share/locale
devl547@5627 41 mkdir -p $fs/etc
pascal@15002 42 cp -a $install/usr/bin $fs/usr
pascal@15002 43 cp -a $install/usr/etc/gconf $fs/etc
pascal@15002 44 cp -a $install/usr/share/applications $fs/usr/share/
pascal@15002 45 cp -a $install/usr/share/icons $fs/usr/share/
pascal@15002 46 cp -a $install/usr/share/liferea $fs/usr/share/
domcox@14104 47 for locale in $LOCALES; do
domcox@14104 48 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@14104 49 done
devl547@5627 50 }