You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
768 B
43 lines
768 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Grep for mbox files"
|
|
SRC_URI="mirror://sourceforge/mboxgrep/${P}.tar.gz"
|
|
HOMEPAGE="https://datatipp.se/mboxgrep/"
|
|
|
|
SLOT="0"
|
|
LICENSE="GPL-2+"
|
|
KEYWORDS="~amd64 ppc x86"
|
|
IUSE="dmalloc"
|
|
|
|
RDEPEND="
|
|
app-arch/bzip2
|
|
dev-libs/libpcre
|
|
sys-libs/zlib
|
|
dmalloc? ( dev-libs/dmalloc )
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch
|
|
"${FILESDIR}"/${P}-fno-common.patch
|
|
"${FILESDIR}"/${P}-ldflags.patch
|
|
)
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_with dmalloc no yes)
|
|
}
|
|
|
|
src_install() {
|
|
emake \
|
|
prefix="${D}"/usr \
|
|
mandir="${D}"/usr/share/man \
|
|
infodir="${D}"/usr/share/info \
|
|
install
|
|
dodoc ChangeLog NEWS TODO README
|
|
}
|