blob: 18dd56078525c45818b88fbe39fd0353d264a9bc (
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/osalp/osalp-0.7.3.ebuild,v 1.8 2005/12/26 12:39:33 lu_zero Exp $
IUSE="encode vorbis"
DESCRIPTION="Open Source Audio Library Project"
HOMEPAGE="http://osalp.sourceforge.net/"
LICENSE="GPL-2"
DEPEND="encode? ( >=media-sound/lame-1.89 )
vorbis? ( >=media-libs/libvorbis-1.0 )"
SLOT="0"
KEYWORDS="x86"
SRC_URI="mirror://sourceforge/osalp/${P}.tar.gz"
src_compile() {
local myconf
use encode && myconf="--enable-lame"
use vorbis && myconf="${myconf} --enable-ogg"
./configure \
${myconf} \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
dodoc AUTHORS COPYING COPYING.LIB INSTALL README TODO NEWS
}
|