blob: 777fc262cbff3f1190b94d87e2e38135eef41d2b (
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
34
35
36
37
38
39
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MY_P="words-${PV}"
DESCRIPTION="Latin-English dictionary."
HOMEPAGE="http://users.erols.com/whitaker/words.htm"
SRC_URI="ftp://petrus.thomasaquinas.edu/pub/linux/words/$MY_P-linux.tar.gz"
SLOT="0"
LICENSE="words"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=$WORKDIR/$MY_P
src_unpack(){
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/words_dir.patch
}
src_install() {
insinto /opt/$MY_P
dodir /usr/bin
dodoc wordsdoc*
rm wordsdoc*
doins *
dosym "$D"/opt/$MY_P/latin /usr/bin/latin
fperms 755 /opt/$MY_P/{latin,words}
}
pkg_postinst() {
einfo "Dictionary is launched through 'latin' command"
}
|