1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit eutils bash-completion-r1 libtool autotools
11 DESCRIPTION="A HTTP regression testing and benchmarking utility"
12 HOMEPAGE="https://www.joedog.org/siege-home/"
13 SRC_URI="http://download.joedog.org/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x64-macos"
20 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6d:= )"
25 # bundled macros break recent libtool
26 sed -i -e 's/AC_PROG_SHELL//' configure.ac || die
27 rm *.m4 || die "failed to remove bundled macros"
33 use ssl && myconf="--with-ssl=${EPREFIX}/usr" || myconf="--without-ssl"
38 emake DESTDIR="${D}" install
40 dodoc AUTHORS ChangeLog INSTALL README* KNOWNBUGS \
41 doc/siegerc doc/urls.txt
43 newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}
48 elog "An example ~/.siegerc file has been installed in"
49 elog "${EPREFIX}/usr/share/doc/${PF}/"