summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-27 11:47:47 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-27 11:47:47 +0000
commit12fda0339b32d4bc7bd51e15e72376a4fa331b51 (patch)
tree3c1d9cd55269f0fa090804e2d0f2ab60060eb47f /app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild
parentAdded ~mips. (diff)
downloadgentoo-2-12fda0339b32d4bc7bd51e15e72376a4fa331b51.tar.gz
gentoo-2-12fda0339b32d4bc7bd51e15e72376a4fa331b51.tar.bz2
gentoo-2-12fda0339b32d4bc7bd51e15e72376a4fa331b51.zip
Use portage unpack so our permissions are sane #162700 by Flemming Richter.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild')
-rw-r--r--app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild b/app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild
new file mode 100644
index 000000000000..d189ad3397d6
--- /dev/null
+++ b/app-i18n/kurso-de-esperanto/kurso-de-esperanto-3.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/01/27 11:47:47 vapier 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"
+KEYWORDS="-* ~amd64 x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-qtlibs-1.1 )"
+
+S=${WORKDIR}
+
+src_install() {
+ dodir /opt/kurso
+ cd "${D}"/opt/kurso
+ ln -s "${S}"/kurso-inst.tar.gz
+ unpack ./kurso-inst.tar.gz
+ rm -f kurso-inst.tar.gz
+ dobin "${FILESDIR}"/kurso || die
+
+ # 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
+
+ ls -l "${D}"/opt/kurso/fonts/
+}