diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-dicts/ydpdict/ydpdict-1.0.3.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-dicts/ydpdict/ydpdict-1.0.3.ebuild')
-rw-r--r-- | app-dicts/ydpdict/ydpdict-1.0.3.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app-dicts/ydpdict/ydpdict-1.0.3.ebuild b/app-dicts/ydpdict/ydpdict-1.0.3.ebuild new file mode 100644 index 000000000000..edd45d3eab31 --- /dev/null +++ b/app-dicts/ydpdict/ydpdict-1.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Interface for the Collins Dictionary" +HOMEPAGE="https://github.com/wojtekka/ydpdict" +SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ao" + +RDEPEND=" + app-dicts/libydpdict + sys-libs/ncurses[unicode] + ao? ( media-libs/libao ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" +DOCS=( + README.md +) +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3-tinfo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with ao libao) +} + +src_install() { + dodir "/etc" + default +} + +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 +} |