summaryrefslogtreecommitdiff
blob: 98f67c11fdb3570e7081fc5ed9cfbc239a9b3250 (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
35
36
37
38
39
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/matrixssl-1.7.3.ebuild,v 1.2 2006/01/31 01:28:15 vapier Exp $

inherit eutils

DESCRIPTION="embedded SSL implementation"
HOMEPAGE="http://www.matrixssl.org/"
SRC_URI="mirror://gentoo/${PN}-${PV//./-}-open.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

DEPEND=""

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

pkg_nofetch() {
	einfo "You'll have to visit the website to download the file."
	einfo "http://www.matrixssl.org/download.html"
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-build.patch
}

src_install() {
	make install DESTDIR="${D}" || die
	cd ..
	if use doc ; then
		dodoc doc/*
		docinto examples
		dodoc examples/*
	fi
}