wok-stable annotate rhapsody/receipt @ rev 3898

slitaz-loram-cdrom: allow frugal install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 15 10:40:49 2009 +0200 (2009-08-15)
parents eb4e6a1af180
children 8be66f03fbd2
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@1511 8 DEPENDS="ncurses"
pascal@1511 9 BUILD_DEPENDS="ncurses-dev"
pankso@7 10 TARBALL="rhapsody_0.28b.tgz"
pankso@7 11 WEB_SITE="http://rhapsody.sourceforge.net/"
pankso@7 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@7 13
pankso@7 14 # Rules to configure and make the package.
pankso@7 15 compile_rules()
pankso@7 16 {
pankso@7 17 cd $src
pascal@1511 18 ./configure -i /usr/bin -d /usr/share/doc/rhapsody &&
pascal@1511 19 make clean &&
pascal@1511 20 make &&
pankso@7 21 strip -v rhapsody
pankso@7 22 }
pankso@7 23
pankso@7 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 25 genpkg_rules()
pankso@7 26 {
pankso@7 27 mkdir -p $fs/usr/bin
pankso@7 28 cp -a $src/rhapsody $fs/usr/bin
pankso@7 29 # Doc stuff.
pankso@7 30 mkdir -p $fs/usr/share/doc/rhapsody
pankso@7 31 cp -a $src/help $fs/usr/share/doc/rhapsody
pankso@7 32 chmod 644 $fs/usr/share/doc/rhapsody/help/*
pankso@7 33 }