blob: 32e0498f4be8e4d80ecbeb1d05f1809b57479a8a [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
CROS_WORKON_COMMIT="004812c103c969c92fc6379384e231742485da9d"
CROS_WORKON_PROJECT="chromiumos/third_party/libresample"
inherit cros-workon toolchain-funcs
DESCRIPTION="This is the resampling library. See README.txt for details."
HOMEPAGE=""
SRC_URI=""
LICENSE="LGPL"
SLOT="0"
KEYWORDS="arm x86"
IUSE=""
src_compile() {
tc-getCC
tc-getAR
emake -j1 || die "emake failed"
}
src_install() {
insinto /usr/lib
insopts -m0755
doins "${S}/libresample.a"
insinto /usr/include/libresample
doins "${S}/include/"*.h || die "include install failed"
}