Live ebuilds: Add `Ispell` ebuild and support to `tdelibs`.
Also: Fix typos and sync with stable. Signed-off-by: Chris <xchrisx@uber.space>pull/101/head
parent
eefc54ceb5
commit
3ad534419b
@ -0,0 +1 @@
|
||||
DIST igerman98-20161207.tar.bz2 470207 BLAKE2B 38adf9d9d6f6a5252eb9edd26831f7e808bb6568b18a3af1f89085e5fcb4137dd7c01628b5b0a36eb83f5bdec0fb8a3f97c751f628f5ce0823792ef19f57111d SHA512 62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Authors and Martin V\"ath
|
||||
# Copyright 2020 The Trinity Desktop Project
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
RESTRICT="mirror"
|
||||
MY_P=igerman98-${PV}
|
||||
|
||||
DESCRIPTION="German and Swiss dictionaries for ispell"
|
||||
HOMEPAGE="http://j3e.de/ispell/igerman98/"
|
||||
SRC_URI="http://j3e.de/ispell/igerman98/dict/${MY_P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa mips ppc sparc x86"
|
||||
|
||||
BDEPEND="app-text/ispell:="
|
||||
RDEPEND="${BDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_compile() {
|
||||
for lang in de_DE de_AT de_CH; do
|
||||
emake ispell/${lang}{.aff,.hash}
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
insinto /usr/$(get_libdir)/ispell
|
||||
for lang in de_DE de_AT de_CH; do
|
||||
doins ispell/${lang}{.aff,.hash}
|
||||
done
|
||||
|
||||
dodoc Documentation/*
|
||||
rm -f -- "${ED}/usr/share/doc/${PF}/GPL"*
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ispell-3.4.00.tar.gz 638770 BLAKE2B 889216df875ebaea617522a416ca7317c593d071bbe0ad3465bd23191ea9720a88530c2e7f27ddc9dae1ddd2742fa92f9451647e70eac98080ad58694e39a29f SHA512 790475e7e296554221679b59856f256889a7193ab39e7314174f92364eaf4b658cc7e6b4f4b7892fa8f3cf0c022d933fc0c995c5e414987cbdcde27723e3da31
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2018 Gentoo Authors and Martin V\"ath
|
||||
# Copyright 2020 The Trinity Desktop Project
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
RESTRICT="mirror"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="fast screen-oriented spelling checker"
|
||||
HOMEPAGE="http://fmg-www.cs.ucla.edu/geoff/ispell.html"
|
||||
SRC_URI="http://fmg-www.cs.ucla.edu/geoff/tars/${P}.tar.gz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0/3.4.00"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/miscfiles
|
||||
sys-libs/ncurses:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/usr/local/man:'"${EPREFIX}"'/usr/share/man:' \
|
||||
-e 's:/usr/local/lib:'"${EPREFIX}"'/usr/'"$(get_libdir)/${PN}:" \
|
||||
-e 's:/usr/local:'"${EPREFIX}"'/usr:' \
|
||||
-- "${S}"/local.h.* || die
|
||||
sed -i \
|
||||
-e 's:\(^#define CC\).*:\1 "'"$(tc-getCC)"'":' \
|
||||
-e 's:\(^#define CFLAGS\).*:\1 "'"-ltinfo ${CFLAGS}"'":' \
|
||||
-- "${S}"/config.X || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Prepare config.sh for installation phase to avoid twice rebuild
|
||||
emake -j1 config.sh
|
||||
sed \
|
||||
-e "s:^\(BINDIR='\)${EPREFIX}\(/usr.*\):\1${ED}\2:" \
|
||||
-e "s:^\(LIBDIR='\)${EPREFIX}\(/usr.*\):\1${ED}\2:" \
|
||||
-e "s:^\(MAN1DIR='\)${EPREFIX}\(/usr.*\):\1${ED}\2:" \
|
||||
-e "s:^\(MAN45DIR='\)${EPREFIX}\(/usr.*\):\1${ED}\2:" \
|
||||
< config.sh > config.sh.install
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv config.sh.install config.sh
|
||||
emake -j1 install
|
||||
dodoc CHANGES Contributors README WISHES
|
||||
}
|
Loading…
Reference in New Issue