Skip to content

Commit

Permalink
net-mail/qlogtools: Update to EAPI7
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Robin H. Johnson <[email protected]>
Bug: https://bugs.gentoo.org/show_bug.cgi?id=697246
  • Loading branch information
robbat2 committed Nov 2, 2019
1 parent 6830413 commit 995223f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions net-mail/qlogtools/qlogtools-3.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit eutils toolchain-funcs

DESCRIPTION="Qmail Log processing tools"
HOMEPAGE="http://untroubled.org/qlogtools/"
SRC_URI="http://untroubled.org/qlogtools/archive/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND=""
RDEPEND="!app-text/multitail"

PATCHES=(
"${FILESDIR}"/qlogtools-3.1-errno.patch
)

src_configure() {
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
echo "${D}/usr/bin" > conf-bin
echo "${D}/usr/share/man/" > conf-man
}

src_install() {
dodir /usr/bin /usr/share/man/
./installer || die "Installer failed"
dodoc ANNOUNCEMENT FILES NEWS README TARGETS VERSION
}

pkg_postinst() {
elog "Please see /usr/share/doc/${PF}/README for configuration information"
}

0 comments on commit 995223f

Please sign in to comment.