-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
+
+EAPI="6"
inherit flag-o-matic
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos"
IUSE="static"
-DEPEND=">=sys-libs/zlib-1.1.4"
+RDEPEND=">=sys-libs/zlib-1.1.4"
+DEPEND="${RDEPEND}"
-src_compile() {
+src_configure() {
use static && append-ldflags -static
- econf || die
- emake || die
+ default
}
src_install() {
- emake INSTALLROOT="${D}" install || die
+ emake INSTALLROOT="${D}" install
dodoc CHANGES INSTALL README
}