You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
810 B
33 lines
810 B
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/flake/flake-0.11.ebuild,v 1.1 2007/08/05 16:11:21 drac Exp $
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="An alternative to the FLAC reference encoder."
|
|
HOMEPAGE="http://flake-enc.sourceforge.net"
|
|
SRC_URI="mirror://sourceforge/flake-enc/${P}.tar.bz2"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="debug"
|
|
|
|
src_compile() {
|
|
local myconf
|
|
|
|
if ! use debug; then
|
|
myconf="${myconf} --disable-debug"
|
|
fi
|
|
|
|
./configure --cc="$(tc-getCC)" --prefix="${D}"/usr \
|
|
--disable-opts --disable-strip ${myconf} || die "configure failed."
|
|
|
|
emake -j1 || die "emake failed."
|
|
}
|
|
|
|
src_install() {
|
|
emake install || die "emake install failed."
|
|
dodoc Changelog README
|
|
}
|