summaryrefslogtreecommitdiff
blob: 6ad2491c8a1207aeaacde933bf850100db8c586a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Peter Gavin <pete@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdaudio/libcdaudio-0.99.4.ebuild,v 1.4 2001/05/09 00:02:48 achim Exp $

#P=
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="a library of cd audio related routines"
SRC_URI="ftp://cdcd.undergrid.net/libcdaudio/${A}"
HOMEPAGE="http://cdcd.undergrid.net/"
DEPEND="virtual/glibc"

src_compile() {
    export CFLAGS="`echo $CFLAGS | sed -e 's:-march=[a-z0-9]*::'`"
    try ./configure --prefix=/usr --host=${CHOST} --enable-threads
    try make
}

src_install () {
    try make DESTDIR=${D} install
    dodoc AUTHORS COPYING ChangLog NEWS README README.BeOS README.OSF1 TODO
}