-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
-MY_P="${P/-bin}"
+MY_P="${P/-bin}Ed"
-DESCRIPTION="Latin-English dictionary."
+DESCRIPTION="Latin--English dictionary."
HOMEPAGE="http://users.erols.com/whitaker/words.htm"
SRC_URI="http://atrey.karlin.mff.cuni.cz/~sanda/mirror/${MY_P}-linux.tar.gz"
-#SRC_URI="ftp://petrus.thomasaquinas.edu/pub/linux/words/${MY_P}-linux.tar.gz"
-#Reported problems with downloading
SLOT="0"
LICENSE="words"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
src_unpack(){
unpack ${A}
src_install() {
insinto /opt/${MY_P}
- dodir /usr/bin
dodoc wordsdoc*
rm wordsdoc*
doins *
- dosym "${D}"/opt/${MY_P}/latin /usr/bin/latin
+ dosym /opt/${MY_P}/latin /usr/bin/latin
fperms 755 /opt/${MY_P}/{latin,words}
}