summaryrefslogtreecommitdiff
blob: 1491035683f6b453095c73ffbf1da222b0d9c0b9 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmusepack/libmusepack-1.1-r1.ebuild,v 1.1 2005/02/20 16:21:12 chainsaw Exp $

DESCRIPTION="Musepack decoder library"
HOMEPAGE="http://www.musepack.net"
SRC_URI="http://files.musepack.net/source/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="static"

src_compile() {
	ebegin "Rebuilding configure scripts"
	WANT_AUTOMAKE=1.7 ./autogen.sh > /dev/null
	eend
	econf `use_enable static` \
		`use_enable !static shared` || die
	emake || die
}

src_install() {
	make DESTDIR="${D}" install || die
	dodoc README
}