blob: 1adfb53c6abb9bc364ba7e2a41f07d7e7d14f577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.9.ebuild,v 1.12 2005/04/05 02:28:10 obz Exp $
inherit flag-o-matic gnuconfig
DESCRIPTION="Library of cd audio related routines."
SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz"
HOMEPAGE="http://libcdaudio.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc alpha ~hppa ~mips ~amd64 ia64 ppc64"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
gnuconfig_update
}
src_compile() {
# -fPIC is required for this library on alpha, see bug #17192
use alpha && append-flags -fPIC
econf --enable-threads --with-gnu-ld || die "econf failed"
emake || die "compile problem."
}
src_install() {
einstall
dodoc AUTHORS COPYING ChangLog NEWS README README.BeOS README.OSF1 TODO
}
|