# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit eutils DESCRIPTION="libdomainkeys is a library usable by MTAs to verify and create signatures of e-mail headers." HOMEPAGE="http://domainkeys.sourceforge.net/" SRC_URI="mirror://sourceforge/domainkeys/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=sys-devel/libtool-1.4.1-r8" RDEPEND="" src_unpack() { unpack ${A} sed -i -e "s:-lcrypto:-lcrypto -lresolv:" ${S}/Makefile } src_install() { insinto /usr/lib doins libdomainkeys.a insinto /usr/include doins domainkeys.h doins dktrace.h dobin dknewkey dktest dodoc README CHANGES *.html # remove unwanted doc files rm -rf ${S}/testcases/CVS rm -rf ${S}/testcases/*~ docinto /testcases dodoc testcases/* prepalldocs }