summaryrefslogtreecommitdiff
blob: 9574495aa6b5ea51161e79452f00ecaadac3ce62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P="${P/-exim/}-tk"
DESCRIPTION="a library for exim to verify and create signatures of e-mail headers"
HOMEPAGE="http://wiki.exim.org/DKIM"
SRC_URI="http://duncanthrax.net/exim-experimental/${MY_P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	# upstream makefile is not very useful.
	epatch "${FILESDIR}/${MY_P}-Makefile.patch" \
	       "${FILESDIR}/${MY_P}-missing-includes.patch"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake failed"
	dodoc ../README || die "Install README failed"
}