Skip to content

Commit

Permalink
sys-apps/dchroot: bump EAPI
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
FuzzyGophers committed May 28, 2018
1 parent c2491d8 commit 1b598b2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions sys-apps/dchroot/dchroot-0.12.1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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@:' \
Expand All @@ -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)"
}

0 comments on commit 1b598b2

Please sign in to comment.