Package-Manager: Portage-2.3.6, Repoman-2.3.1
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=6
inherit toolchain-funcs
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
sed -i Makefile -e '/ -o /s|${CFLAGS}|& ${LDFLAGS}|g' || die "sed Makefile"
+ default
}
src_compile() {
- emake CC=$(tc-getCC) all || die "emake failed"
+ emake CC=$(tc-getCC) all
}
src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install || die "install failed"
+ emake DESTDIR="${D}" PREFIX=/usr install
dodoc VERSION
- dohtml docs/html/*
+ dodoc docs/html/*
}