wok-6.x view rhapsody/receipt @ rev 24968

gnutls: disabled GOST support
author Hans-G?nter Theisgen
date Tue Apr 26 13:11:21 2022 +0100 (2022-04-26)
parents 762b649a4d73
children 7dd01dedad38
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="http://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 }