summaryrefslogtreecommitdiff
blob: 797f8f57e4712842fd265af0cd84c7feca1a3a4c (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/matrixssl-1.0.2.ebuild,v 1.4 2005/03/18 15:15:19 solar Exp $

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

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

DEPEND="virtual/libc"

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_compile() {
	emake DFLAGS="${CFLAGS}" || die
}

src_install() {
	dolib.so libmatrixssl.so || die
	cd ..
	if use doc ; then
		dodoc doc/*
		docinto examples
		dodoc examples/*
	fi
	insinto /usr/include
	doins matrixSsl.h || die
}