mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-accessibility/nfbtrans: drop 7.74-r2
Bug: https://bugs.gentoo.org/874390 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Braille translator from the National Federation of the Blind"
|
||||
HOMEPAGE="http://www.nfbnet.org/download/nfbtrans.htm"
|
||||
SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr$(ver_rs 1-2 '').zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
BDEPEND=" >=app-arch/unzip-5.50-r2"
|
||||
|
||||
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
|
||||
|
||||
default
|
||||
|
||||
emake lowercase
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user