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/libclalsadrv/libclalsadrv-1.2.2.ebuild

37 lines
776 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils multilib toolchain-funcs
MY_P="${P/lib/}"
S="${WORKDIR}/${PN/lib/}"
DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""
DEPEND="media-libs/alsa-lib"
src_unpack() {
unpack ${A} || die
cd "${S}"
epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile() {
tc-export CC CXX
emake || die "emake failed"
}
src_install() {
emake LIBDIR="$(get_libdir)" PREFIX="${D}/usr" install || die "make install failed"
dodoc AUTHORS
}