/[gentoo-x86]/app-dicts/ydpdict/ydpdict-0.99.3.ebuild
Gentoo

Contents of /app-dicts/ydpdict/ydpdict-0.99.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 3 02:18:37 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-dicts/ydpdict/ydpdict-0.99.3.ebuild,v 1.2 2008/08/27 22:43:50 cla Exp $
4
5 DESCRIPTION="Interface for the Collins Dictionary."
6 HOMEPAGE="http://toxygen.net/ydpdict/"
7 SRC_URI="http://toxygen.net/${PN}/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="amd64 x86"
12 IUSE="ao"
13
14 RDEPEND="=app-dicts/libydpdict-${PV}*
15 ao? ( media-libs/libao )"
16
17 DEPEND="${RDEPEND}
18 virtual/pkgconfig"
19
20 src_compile() {
21 econf \
22 $(use_with ao libao) \
23 || die "econf failed"
24
25 emake || die "emake failed"
26 }
27
28 src_install() {
29 dodir "/etc"
30 emake DESTDIR="${D}" install || die "emake install failed"
31
32 dodoc README
33 }
34
35 pkg_postinst() {
36 echo
37 elog "Note that to use this program you'll need the original Collins Dictionary"
38 elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
39 elog "directory of the Windows version of the Collins dictionary. Once you obtain"
40 elog "the files, put them into /usr/share/ydpdict"
41 elog
42 elog "Some configuration options can be set in /etc/ydpdict.conf"
43 echo
44 }

  ViewVC Help
Powered by ViewVC 1.1.20