mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tcltk/tclreadline: remove old version
Closes: https://bugs.gentoo.org/775773 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Readline extension to TCL"
|
||||
HOMEPAGE="https://github.com/flightaware/tclreadline"
|
||||
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="tk"
|
||||
|
||||
DEPEND="dev-lang/tcl:0=
|
||||
sys-libs/readline:0=
|
||||
tk? ( dev-lang/tk:0= )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "/TCLRL_LIBDIR/s|/usr/lib|/usr/$(get_libdir)|" \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
||||
if ! use tk; then
|
||||
myConf="$myConf --without-tk"
|
||||
fi
|
||||
econf $myConf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name \*.la -delete
|
||||
}
|
||||
Reference in New Issue
Block a user