blob: 72a316be77612264ec7f2744d72ffbcf1c9aa69b (
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
42
43
44
45
46
47
48
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/ydpdict/ydpdict-0.99.0.ebuild,v 1.1 2007/02/26 21:09:54 peper Exp $
DESCRIPTION="Interface for the Collins Dictionary."
HOMEPAGE="http://toxygen.net/ydpdict/"
SRC_URI="http://toxygen.net/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="=app-dicts/libydpdict-${PV}*
media-libs/libao"
#Broken w/o the libao - reported upstream
#ao? ( media-libs/libao )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9.0"
src_compile() {
econf \
--with-libao \
|| die "econf failed"
#Broken w/o the libao - reported upstream
#$(use_with ao libao) \
emake || die "emake failed"
}
src_install() {
dodir "/etc"
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README
}
pkg_postinst() {
echo
elog "Note that to use this program you'll need the original Collins Dictionary"
elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
elog "directory of the Windows version of the Collins dictionary. Once you obtain"
elog "the files, put them into /usr/share/ydpdict"
elog
elog "Some configuration options can be set in /etc/ydpdict.conf"
echo
}
|