/[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.6 - (hide annotations) (download)
Sun Jun 17 11:14:00 2012 UTC (11 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -4 lines
QA: fix ebuild for EAPI=2; econf was being executed twice.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 spock 1.3 # Copyright 1999-2012 Gentoo Foundation
2 spock 1.1 # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.6 # $Header: /var/cvsroot/gentoo-x86/app-dicts/ydpdict/ydpdict-1.0.0.ebuild,v 1.5 2012/05/03 02:18:37 jdhore Exp $
4 spock 1.3
5     EAPI=2
6 spock 1.1
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 spock 1.4 IUSE="ao"
15 spock 1.1
16 spock 1.2 RDEPEND=">=app-dicts/libydpdict-${PV}
17 spock 1.3 sys-libs/ncurses[unicode]
18 spock 1.1 ao? ( media-libs/libao )"
19    
20     DEPEND="${RDEPEND}
21 jdhore 1.5 virtual/pkgconfig"
22 spock 1.1
23 flameeyes 1.6 src_configure() {
24 spock 1.1 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.13