summaryrefslogtreecommitdiff
blob: 1692d7306517f37d3072d4c499ed1f70ecaa173e (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0.ebuild,v 1.7 2005/01/14 14:35:00 luckyduck Exp $

DESCRIPTION="multimedia computer program for teaching yourself Esperanto"
HOMEPAGE="http://www.cursodeesperanto.com.br/"
SRC_URI="http://www.cursodeesperanto.com.br/kurso.tar.gz"

LICENSE="as-is"
SLOT="0"
IUSE=""
KEYWORDS="-* x86 ~amd64"

RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-qtlibs-1.1 )"

S=${WORKDIR}

src_install() {
	dodir /opt/kurso
	tar -zxf kurso-inst.tar.gz -C ${D}/opt/kurso/
	dobin ${FILESDIR}/kurso

	# Workaround till lib symlink changes from lib->lib64 to lib->lib32
	# Danny van Dyk <kugelfang@gentoo.org> 2004/08/30
	if use amd64 ; then
		sed -i -e "s:^\#export:export:" ${D}/usr/bin/kurso
	fi

	insinto /etc
	doins ${FILESDIR}/kurso.conf
}