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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Mar 7 01:00:44 2014 UTC (4 months, 2 weeks ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 28DB029C)

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-1.0.0.ebuild,v 1.6 2012/06/17 11:14:00 flameeyes Exp $
4
5 EAPI=2
6
7 DESCRIPTION="Interface for the Collins Dictionary."
8 HOMEPAGE="http://toxygen.net/ydpdict/"
9 SRC_URI="http://toxygen.net/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="ao"
15
16 RDEPEND=">=app-dicts/libydpdict-${PV}
17 sys-libs/ncurses[unicode]
18 ao? ( media-libs/libao )"
19
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 src_configure() {
24 econf \
25 $(use_with ao libao) \
26 || die "econf failed"
27 }
28
29 src_install() {
30 dodir "/etc"
31 emake DESTDIR="${D}" install || die "emake install failed"
32
33 dodoc README
34 }
35
36 pkg_postinst() {
37 echo
38 elog "Note that to use this program you'll need the original Collins Dictionary"
39 elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
40 elog "directory of the Windows version of the Collins dictionary. Once you obtain"
41 elog "the files, put them into /usr/share/ydpdict"
42 elog
43 elog "Some configuration options can be set in /etc/ydpdict.conf"
44 echo
45 }

  ViewVC Help
Powered by ViewVC 1.1.20