wok-6.x annotate rhapsody/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | e919c5a2742d |
children |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="rhapsody" |
pankso@7 | 4 VERSION="0.28b" |
pankso@203 | 5 CATEGORY="network" |
pankso@7 | 6 SHORT_DESC="Text mode and easy to use IRC client." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL2" |
al@19001 | 9 TARBALL="${PACKAGE}_${VERSION}.tgz" |
pascal@25460 | 10 WEB_SITE="https://rhapsody.sourceforge.net/" |
pankso@7 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4972 | 12 TAGS="irc" |
pankso@7 | 13 |
pascal@15601 | 14 DEPENDS="ncurses" |
pascal@15601 | 15 BUILD_DEPENDS="ncurses-dev" |
pascal@15601 | 16 |
pascal@24348 | 17 # What is the latest version available today? |
pascal@24348 | 18 current_version() |
pascal@24348 | 19 { |
pascal@24348 | 20 wget -O - https://sourceforge.net/projects/rhapsody/files/rhapsody/ 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 22 sed '/scope="row/!d;s|.*/rhapsody_||;s|.tgz.*||;q' |
pascal@24348 | 23 } |
pascal@24348 | 24 |
pankso@7 | 25 # Rules to configure and make the package. |
pankso@7 | 26 compile_rules() |
pankso@7 | 27 { |
pascal@17673 | 28 sed -i 's|lncurses|& -ltinfo|' configure |
pascal@1511 | 29 ./configure -i /usr/bin -d /usr/share/doc/rhapsody && |
pascal@1511 | 30 make clean && |
slaxemulator@9477 | 31 make |
pankso@7 | 32 } |
pankso@7 | 33 |
pankso@7 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 35 genpkg_rules() |
pankso@7 | 36 { |
pankso@7 | 37 mkdir -p $fs/usr/bin |
pankso@7 | 38 cp -a $src/rhapsody $fs/usr/bin |
pankso@7 | 39 # Doc stuff. |
pankso@7 | 40 mkdir -p $fs/usr/share/doc/rhapsody |
pankso@7 | 41 cp -a $src/help $fs/usr/share/doc/rhapsody |
pankso@7 | 42 chmod 644 $fs/usr/share/doc/rhapsody/help/* |
pankso@7 | 43 } |