bulk_extractor: EAPI bump

This commit is contained in:
Yury Martynov 2019-10-05 21:51:51 +03:00
parent 50aafce8d2
commit ffee7105a0
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 15 additions and 11 deletions

View file

@ -1,16 +1,16 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=7
inherit autotools eutils flag-o-matic gnome2-utils xdg-utils inherit autotools eutils flag-o-matic gnome2-utils xdg-utils
DESCRIPTION="Scans a disk image for regular expressions and other content" DESCRIPTION="Scans a disk image for regular expressions and other content"
HOMEPAGE="https://github.com/simsong/bulk_extractor" HOMEPAGE="https://github.com/simsong/bulk_extractor"
SRC_URI="http://digitalcorpora.org/downloads/bulk_extractor/${P}.tar.gz" SRC_URI="http://digitalcorpora.org/downloads/bulk_extractor/${P}.tar.gz"
KEYWORDS="amd64 ~x86" KEYWORDS="amd64 ~x86"
LICENSE="GPL-2" LICENSE="GPL-2"
RESTRICT="mirror"
SLOT="0" SLOT="0"
IUSE="aff doc +beviewer +exiv2 hashdb rar" IUSE="aff doc +beviewer +exiv2 hashdb rar"
@ -28,8 +28,10 @@ RDEPEND="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
doc? ( app-doc/doxygen ) doc? ( app-doc/doxygen )
virtual/man"
BDEPEND="
sys-devel/flex sys-devel/flex
virtual/man
virtual/pkgconfig" virtual/pkgconfig"
src_prepare() { src_prepare() {
@ -46,7 +48,7 @@ src_prepare() {
eapply "${FILESDIR}/${P}_other_minor_fixes.patch" eapply "${FILESDIR}/${P}_other_minor_fixes.patch"
eautoreconf eautoreconf
eapply_user default
} }
src_configure() { src_configure() {
@ -102,14 +104,14 @@ pkg_preinst() {
pkg_postinst() { pkg_postinst() {
if use beviewer; then if use beviewer; then
xdg_icon_cache_update
xdg_desktop_database_update xdg_desktop_database_update
gnome2_icon_cache_update
fi fi
} }
pkg_postrm() { pkg_postrm() {
if use beviewer; then if use beviewer; then
xdg_icon_cache_update
xdg_desktop_database_update xdg_desktop_database_update
gnome2_icon_cache_update
fi fi
} }

View file

@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=7
inherit autotools eutils git-r3 gnome2-utils xdg-utils inherit autotools eutils git-r3 gnome2-utils xdg-utils
@ -35,15 +35,17 @@ RDEPEND="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
doc? ( app-doc/doxygen ) doc? ( app-doc/doxygen )
virtual/man"
BDEPEND="
sys-devel/flex sys-devel/flex
virtual/man
virtual/pkgconfig" virtual/pkgconfig"
src_prepare() { src_prepare() {
eapply "${FILESDIR}/add_exiv2-0.27_api_support.patch" eapply "${FILESDIR}/add_exiv2-0.27_api_support.patch"
eautoreconf eautoreconf
eapply_user default
} }
src_configure() { src_configure() {
@ -99,14 +101,14 @@ pkg_preinst() {
pkg_postinst() { pkg_postinst() {
if use beviewer; then if use beviewer; then
xdg_icon_cache_update
xdg_desktop_database_update xdg_desktop_database_update
gnome2_icon_cache_update
fi fi
} }
pkg_postrm() { pkg_postrm() {
if use beviewer; then if use beviewer; then
xdg_icon_cache_update
xdg_desktop_database_update xdg_desktop_database_update
gnome2_icon_cache_update
fi fi
} }