wok view rhapsody/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents 02bbaa9d12ba
children 23c3aed67cd9
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 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/rhapsody $fs/usr/bin
29 # Doc stuff.
30 mkdir -p $fs/usr/share/doc/rhapsody
31 cp -a $src/help $fs/usr/share/doc/rhapsody
32 chmod 644 $fs/usr/share/doc/rhapsody/help/*
33 }