wok-current annotate rsstail/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (2022-09-04) |
parents | a6b997a82f39 |
children |
rev | line source |
---|---|
tcg@17142 | 1 # SliTaz package receipt. |
tcg@17142 | 2 |
tcg@17142 | 3 PACKAGE="rsstail" |
Hans-G?nter@21851 | 4 VERSION="2.1" |
al@17516 | 5 CATEGORY="network" |
Hans-G?nter@21851 | 6 SHORT_DESC="RSS feed reader." |
tcg@17142 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
tcg@17142 | 8 LICENSE="GPL" |
pascal@24897 | 9 WEB_SITE="https://github.com/oldlaptop/rsstail" |
Hans-G?nter@21851 | 10 |
tcg@17142 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@25026 | 12 WGET_URL="http://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/ea/$TARBALL" |
tcg@17142 | 13 |
Hans-G?nter@21851 | 14 DEPENDS="curl libmrss libnxml" |
Hans-G?nter@21851 | 15 BUILD_DEPENDS="curl-dev libcurl libnxml-dev libmrss-dev" |
tcg@17142 | 16 |
pascal@24902 | 17 # What is the latest version available today? |
pascal@24902 | 18 current_version() |
pascal@24902 | 19 { |
pascal@24902 | 20 wget -O - https://raw.githubusercontent.com/oldlaptop/rsstail/master/Makefile 2>/dev/null | \ |
pascal@24902 | 21 sed '/VERSION/!d;s|.*=||;q' |
pascal@24902 | 22 } |
pascal@24902 | 23 |
tcg@17142 | 24 # Rules to configure and make the package. |
tcg@17142 | 25 compile_rules() |
tcg@17142 | 26 { |
Hans-G?nter@21851 | 27 sed -i 's/-liconv_hook //' Makefile |
Hans-G?nter@21851 | 28 make prefix=$install/usr && |
Hans-G?nter@21851 | 29 make install prefix=$install/usr |
tcg@17142 | 30 } |
tcg@17142 | 31 |
tcg@17142 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
tcg@17142 | 33 genpkg_rules() |
tcg@17142 | 34 { |
pascal@17148 | 35 mkdir -p $fs/usr |
tcg@17142 | 36 cp -a $install/usr/bin $fs/usr/ |
tcg@17142 | 37 } |