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.
gentoo-overlay/media-libs/celt/celt-0.7.1.ebuild

31 lines
809 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/celt/celt-0.7.1.ebuild,v 1.11 2014/08/10 21:08:08 slyfox Exp $
EAPI="2"
inherit multilib
DESCRIPTION="CELT is a very low delay audio codec designed for high-quality communications"
HOMEPAGE="http://www.celt-codec.org/"
SRC_URI="http://downloads.us.xiph.org/releases/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~ia64 ppc ~ppc64 ~sparc x86"
IUSE="ogg"
DEPEND="ogg? ( media-libs/libogg )"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_with ogg ogg /usr)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc ChangeLog README TODO || die "dodoc failed."
find "${D}" -name '*.la' -delete
}