summaryrefslogtreecommitdiff
blob: 06a20854183e94b6ea7d2c34ccc91779e77c389f (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnustep-2

S="${WORKDIR}/Etoile-${PV}/Services/User/Calc"

DESCRIPTION="A very simple calculator"
HOMEPAGE="http://www.etoile-project.org"
SRC_URI="http://download.gna.org/etoile/etoile-${PV}.tar.gz"

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

DEPEND="gnustep-libs/etoile-io"
RDEPEND="${DEPEND}"

src_compile() {
	einfo "Nothing to compile"
}
src_install() {
	egnustep_env
	dodir ${GNUSTEP_SYSTEM_APPS}
	cp -R Calc.app ${D}/${GNUSTEP_SYSTEM_APPS}

	# Tools wrapper
	make_wrapper Calc ${GNUSTEP_SYSTEM_APPS}/Calc.app/Calc "" "" ${GNUSTEP_SYSTEM_TOOLS}
}