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.
gentoo-overlay/net-dns/dnssec-tools/dnssec-tools-1.13.ebuild

53 lines
1.2 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/dnssec-tools-1.13.ebuild,v 1.1 2012/06/23 21:44:18 xmw Exp $
EAPI=4
inherit qt4-r2
DESCRIPTION="tools to ease the deployment of DNSSEC related technologies"
HOMEPAGE="http://www.dnssec-tools.org/"
SRC_URI="http://www.dnssec-tools.org/download/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="dev-lang/perl
dev-perl/Getopt-GUI-Long
dev-perl/GraphViz
dev-perl/MailTools
dev-perl/Net-DNS
dev-perl/XML-Simple"
DEPEND="${RDEPEND}"
src_prepare() {
sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
-i Makefile.in || die
}
src_configure() {
econf \
--disable-bind-checks \
--without-validator \
--with-perl-build-args=INSTALLDIRS=vendor \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install
prune_libtool_files
}
pkg_postinst() {
einfo
elog "Please run 'dtinitconf' in order to set up the required"
elog "/etc/dnssec-tools/dnssec-tools.conf file"
einfo
elog "DNSSEC Validator has been split into net-dns/dnsval"
einfo
}