mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-misc/tdl: drop 1.5.2-r3, EAPI6--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
98155cf839
commit
f8e9405f76
@ -1,3 +1 @@
|
||||
DIST tdl-1.5.2.gh.tar.gz 66542 BLAKE2B 7e7017ee3937d8775907e907a1eb4ab34880013c85cddbdfcc9239e35bf788904f232e668345074966b5940ab518af91df842cf38a50517dcfdf9953b403cf33 SHA512 c00abe14a0a4e2d0bec83e4f5cf3c28749976d42f5a15d0f4065f928fae20d7bfdf4339dc4d863ab4d4006d307a8797fc12e20cf1ef5b9a71c5018ec98d4f732
|
||||
DIST tdl-1.5.2.tar.gz 66057 BLAKE2B cc2d5581126d995098b5dc3032c97213614acaea3b984a507a824da2ba4d3be9afff954722f29acf0b9bd26db42ada22d67fc9110496961c2cb3104d9b4b7ece SHA512 8c07a5b6a5434bb567a2d68b6e0215bbfa7be3f7176ae1042652ac18684289117230af25d8d161fcf1ba27d9b740fd3fcd43c3213467b533de64390686481fe0
|
||||
DIST tdl-screenshot.png.tar 20480 BLAKE2B ce9284501ba1550179e1c3da54399a802aae3c0fb23b9a1ea25a1adb0f5c0404fe7694a360435913bb91cc1977d71561050ec0fe4e1681db775cdc7ec5fa11b7 SHA512 caca9793626b320ded4c7f16425b98e4bfde9ab0ca3c1bea60ecc8aaa8db080ab6fc3c474aef4d56e394b6415ec1162671329912aa22452dbd5dc72b50c7c8f6
|
||||
|
||||
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Command line To Do List manager"
|
||||
HOMEPAGE="http://www.rc0.org.uk/tdl/"
|
||||
SRC_URI="
|
||||
http://www.rpcurnow.force9.co.uk/tdl/${P}.tar.gz
|
||||
https://dev.gentoo.org/~jlec/distfiles/${PN}-screenshot.png.tar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc readline"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0="
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
doc? ( virtual/texi2dvi )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-ldflags.patch
|
||||
"${FILESDIR}"/${P}-list.c.patch
|
||||
"${FILESDIR}"/${P}-main.c.patch
|
||||
"${FILESDIR}"/${P}-man.patch
|
||||
)
|
||||
|
||||
DOCS=( README NEWS tdl.txt "${WORKDIR}"/screenshot.png tdl.html )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=( --prefix="${EPREFIX}"/usr )
|
||||
|
||||
if ! use readline; then
|
||||
myconf+=( "${myconf} --without-readline" )
|
||||
sed -i 's#\($(LIB_READLINE)\)#\1 -lncurses##g' "${S}"/Makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i 's#-ltermcap#-lncurses#g' "${S}"/configure || die
|
||||
"${S}"/configure "${myconf[@]}" || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
emake all tdl.info tdl.html tdl.txt
|
||||
|
||||
if use doc; then
|
||||
emake tdl.dvi tdl.ps tdl.pdf
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
doinfo tdl.info
|
||||
|
||||
dobin tdl
|
||||
doman tdl.1
|
||||
|
||||
local i
|
||||
for i in tdl{a,l,d,g}
|
||||
do
|
||||
dosym tdl /usr/bin/${i}
|
||||
dosym tdl.1 /usr/share/man/man1/${i}.1
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
dodoc tdl.dvi tdl.ps tdl.pdf
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user