app-crypt/ima-evm-utils: [QA] Port to git-r3
authorDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 13:19:43 +0000 (14:19 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 25 Dec 2017 14:42:11 +0000 (15:42 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-crypt/ima-evm-utils/ima-evm-utils-9999.ebuild

index a7366acbcaa015492d9d3a4cf7e59e6c1125c112..6252285e3f18be2e51a37503fcd4a6f79babf55e 100644 (file)
@@ -1,21 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-EGIT_REPO_URI="git://git.code.sf.net/p/linux-ima/ima-evm-utils"
-EGIT_BOOTSTRAP="autogen.sh"
-
-inherit git-2 eutils
+inherit autotools git-r3
 
 DESCRIPTION="Supporting tools for IMA and EVM"
 HOMEPAGE="http://linux-ima.sourceforge.net"
-SRC_URI=""
+EGIT_REPO_URI="git://git.code.sf.net/p/linux-ima/ima-evm-utils"
 
-DEPEND="sys-apps/keyutils"
-RDEPEND="${DEPEND}"
+RDEPEND="
+       dev-libs/openssl:0=
+       sys-apps/keyutils"
+DEPEND="${RDEPEND}
+       app-text/docbook-xsl-stylesheets"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
+IUSE="debug"
+
+src_prepare() {
+       default
+
+       sed -i '/^MANPAGE_DOCBOOK_XSL/s:/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' Makefile.am || die
+
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable debug)
+}