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.

38 lines
738 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
src_configure() {
# NIH configure script
./configure \
--ar="$(tc-getAR)" \
--cc="$(tc-getCC)" \
--ranlib="$(tc-getRANLIB)" \
--prefix="${ED}"/usr \
--disable-opts \
--disable-debug \
--disable-strip || die "configure failed"
}
src_compile() {
emake -j1
}
src_install() {
dobin flake/flake
doheader libflake/flake.h
dolib.a libflake/libflake.a
dodoc Changelog README
}