wok view rhapsody/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 7dd01dedad38
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }