mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-31 04:44:17 +01:00
40 lines
758 B
Bash
40 lines
758 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit autotools
|
|
|
|
MY_P="${PN}${PV/./}"
|
|
|
|
DESCRIPTION="A Web Content Scanner to look for existing/hidden content"
|
|
HOMEPAGE="http://dirb.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="net-misc/curl"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_prepare() {
|
|
# cleanup
|
|
rm -f configure || die
|
|
eautoreconf
|
|
|
|
sed -e "s/\$(EXEEXT)/\$(DIC_EXEEXT)/g" \
|
|
-i gendict_src/Makefile.{am,in} || die
|
|
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
emake DIC_EXEEXT="-${PN}" DESTDIR="${D}" install
|
|
|
|
insinto "/usr/share/dict/dirb-wordlists"
|
|
doins -r wordlists/*
|
|
}
|