wok annotate rhapsody/receipt @ rev 19021

Up tazusb (189)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 11:13:00 2016 +0200 (2016-04-01)
parents c7c3567bd8d4
children e919c5a2742d
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"
pankso@7 10 WEB_SITE="http://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
pankso@7 17 # Rules to configure and make the package.
pankso@7 18 compile_rules()
pankso@7 19 {
pascal@17673 20 sed -i 's|lncurses|& -ltinfo|' configure
pascal@1511 21 ./configure -i /usr/bin -d /usr/share/doc/rhapsody &&
pascal@1511 22 make clean &&
slaxemulator@9477 23 make
pankso@7 24 }
pankso@7 25
pankso@7 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 27 genpkg_rules()
pankso@7 28 {
pankso@7 29 mkdir -p $fs/usr/bin
pankso@7 30 cp -a $src/rhapsody $fs/usr/bin
pankso@7 31 # Doc stuff.
pankso@7 32 mkdir -p $fs/usr/share/doc/rhapsody
pankso@7 33 cp -a $src/help $fs/usr/share/doc/rhapsody
pankso@7 34 chmod 644 $fs/usr/share/doc/rhapsody/help/*
pankso@7 35 }