summaryrefslogtreecommitdiff
blob: 9ed5937f68618db9131ed1254c4b69561d9ccbd7 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/steptalk/steptalk-0.10.0-r1.ebuild,v 1.2 2008/01/25 17:28:28 opfer Exp $

inherit gnustep-2

MY_PN="StepTalk"
DESCRIPTION="StepTalk is the official GNUstep scripting framework."
HOMEPAGE="http://www.gnustep.org/experience/StepTalk.html"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/libs/${MY_PN}-${PV}.tar.gz"

KEYWORDS="~amd64 ~ppc x86"
LICENSE="LGPL-2.1"
SLOT="0"

S="${WORKDIR}/${MY_PN}"

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

	epatch ${FILESDIR}/${P}-gnustep-make-2.patch
}

src_install() {
	gnustep-base_src_install

	if use doc ; then
		egnustep_env
		mkdir -p ${D}${GNUSTEP_SYSTEM_DOC}/Developer/${MY_PN}
		cp -R Documentation/* ${D}${GNUSTEP_SYSTEM_DOC}/Developer/${MY_PN}
	fi
}