summaryrefslogtreecommitdiff
blob: 87e88445788e935cfb7fcf3c020879ae8262bac2 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/pantomime/pantomime-1.1.0.ebuild,v 1.1 2004/07/23 13:39:14 fafhrd Exp $

IUSE="ssl"

inherit base gnustep-old

DESCRIPTION="A set of Objective-C classes that model a mail system"
HOMEPAGE="http://www.collaboration-world.com/pantomime/"
LICENSE="LGPL-2.1"
SRC_URI="http://www.collaboration-world.com/pantomime.data/releases/Stable/${PN/p/P}-${PV}.tar.gz"
KEYWORDS="~x86 ~ppc alpha"
SLOT="0"
S=${WORKDIR}/${PN/p/P}

src_compile() {
	egnustepmake
	if use ssl; then
		cd ${S}/Bundles/SSL
		make
		cd ${S}
	fi
}

src_install() {
	egnustepinstall

	if use ssl; then
		mkdir -p ${D}usr/GNUstep/System/Library/Pantomime
		cd ${S}/Bundles/SSL
		tar cf - TCPSSLConnection.bundle | ( cd ${D}usr/GNUstep/System/Library/Pantomime; tar xf - )
	fi
}