sys-apps/dchroot: bump EAPI
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 16:29:19 +0000 (12:29 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:01:58 +0000 (19:01 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-apps/dchroot/dchroot-0.12.1.ebuild

index 6caede8eede41898f5b9e2e3ae135431b0275dce..eee10e8bef0605abdc33c41a29e042590f1e010d 100644 (file)
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
 inherit toolchain-funcs
 
 DESCRIPTION="Utility for managing chroots for non-root users"
-HOMEPAGE="http://packages.debian.org/unstable/admin/dchroot"
+HOMEPAGE="https://packages.debian.org/unstable/admin/dchroot"
 SRC_URI="mirror://debian/pool/main/d/dchroot/dchroot_${PV}.tar.gz"
 
 LICENSE="GPL-2"
@@ -18,6 +18,7 @@ DEPEND="sys-apps/help2man"
 RDEPEND="!dev-util/schroot[dchroot]"
 
 src_prepare() {
+       default
        sed -i \
                -e '/^all:/s:$: docs:' \
                -e '/^CFLAGS/s:-O2:@CFLAGS@:' \
@@ -26,10 +27,5 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc README TODO
+       emake CC="$(tc-getCC)"
 }