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