blob: 24f2e7b6ee1b62c07a35841214febf9965ea1a39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2019 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 \
--cc="$(tc-getCC)" \
--prefix="${D}"/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
}
|