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

libarchive: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 13 15:11:57 2010 +0200 (2010-05-13)
parents 3d99ecce2d4b
children 02bbaa9d12ba
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 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="rhapsody_0.28b.tgz"
11 WEB_SITE="http://rhapsody.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="irc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure -i /usr/bin -d /usr/share/doc/rhapsody &&
20 make clean &&
21 make &&
22 strip -v rhapsody
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/rhapsody $fs/usr/bin
30 # Doc stuff.
31 mkdir -p $fs/usr/share/doc/rhapsody
32 cp -a $src/help $fs/usr/share/doc/rhapsody
33 chmod 644 $fs/usr/share/doc/rhapsody/help/*
34 }