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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Sep 7 11:18:30 2008 UTC (6 years, 3 months ago) by spock
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old ebuilds.
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5 x86_64)

1 # Copyright 1999-2007 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.0.ebuild,v 1.1 2007/02/26 21:09:54 peper 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=""
13
14 RDEPEND="=app-dicts/libydpdict-${PV}*
15 media-libs/libao"
16 #Broken w/o the libao - reported upstream
17 #ao? ( media-libs/libao )"
18
19 DEPEND="${RDEPEND}
20 >=dev-util/pkgconfig-0.9.0"
21
22 src_compile() {
23 econf \
24 --with-libao \
25 || die "econf failed"
26 #Broken w/o the libao - reported upstream
27 #$(use_with ao libao) \
28
29 emake || die "emake failed"
30 }
31
32 src_install() {
33 dodir "/etc"
34 emake DESTDIR="${D}" install || die "emake install failed"
35
36 dodoc README
37 }
38
39 pkg_postinst() {
40 echo
41 elog "Note that to use this program you'll need the original Collins Dictionary"
42 elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
43 elog "directory of the Windows version of the Collins dictionary. Once you obtain"
44 elog "the files, put them into /usr/share/ydpdict"
45 elog
46 elog "Some configuration options can be set in /etc/ydpdict.conf"
47 echo
48 }

  ViewVC Help
Powered by ViewVC 1.1.20