Skip to content

Commit

Permalink
dev-libs/dclog: eapi bump to 6, add ~amd64 keyword
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
Amynka committed Aug 4, 2017
1 parent 61b7048 commit 1898139
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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

Expand All @@ -11,19 +11,20 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

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/*
}

0 comments on commit 1898139

Please sign in to comment.