diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild')
-rw-r--r-- | app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild new file mode 100644 index 000000000000..5a275017973a --- /dev/null +++ b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="braille translator from the National Federation of the Blind" +HOMEPAGE="http://www.nfb.org/nfbtrans" +SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND=" >=app-arch/unzip-5.50-r2" +RDEPEND="" + +S=${WORKDIR} + +PATCHES=( +"${FILESDIR}"/${P}-gentoo-fix.patch +"${FILESDIR}"/${P}-getline-fix.patch +"${FILESDIR}"/${P}-respect-ldflags.patch +) + +src_prepare() { + mv MAKEFILE Makefile || die + mv SPANISH.ZIP spanish.zip || die + emake lowercase + default +} + +src_compile() { + emake CC=$(tc-getCC) \ + LIBS= \ + CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" all +} + +src_install() { + dobin nfbtrans + dodoc *fmt readme.txt makedoc + insinto /etc/nfbtrans + doins *cnf *tab *dic spell.dat *zip +} |