diff options
author | 2020-11-22 15:43:01 +0100 | |
---|---|---|
committer | 2020-11-22 15:43:01 +0100 | |
commit | d255c00fd7c8e86a900422cb37affb0d76fe55e2 (patch) | |
tree | 024dde74a8c2e7ad9d5b0f656c317b335289f29b /dev-tcltk/tls/tls-1.7.22.ebuild | |
parent | games-arcade/sdlroids: Port to EAPI 7 (diff) | |
download | gentoo-d255c00fd7c8e86a900422cb37affb0d76fe55e2.tar.gz gentoo-d255c00fd7c8e86a900422cb37affb0d76fe55e2.tar.bz2 gentoo-d255c00fd7c8e86a900422cb37affb0d76fe55e2.zip |
dev-tcltk/tls: Version bump
Closes: https://bugs.gentoo.org/755968
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tls/tls-1.7.22.ebuild')
-rw-r--r-- | dev-tcltk/tls/tls-1.7.22.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-tcltk/tls/tls-1.7.22.ebuild b/dev-tcltk/tls/tls-1.7.22.ebuild new file mode 100644 index 000000000000..c4f7c36511d5 --- /dev/null +++ b/dev-tcltk/tls/tls-1.7.22.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +MY_P="tcl${P}" + +DESCRIPTION="TLS OpenSSL extension to Tcl" +HOMEPAGE="http://tls.sourceforge.net/" +SRC_URI="https://core.tcl.tk/tcltls/uv/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="tk" + +DEPEND=" + dev-lang/tcl:0= + dev-libs/openssl:0= + tk? ( dev-lang/tk:0= )" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + --with-ssl-dir="${EPREFIX}/usr" \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + default + dodoc tls.htm + + if [[ ${CHOST} == *-darwin* ]] ; then + # this is ugly, but fixing the makefile mess is even worse + local loc=usr/$(get_libdir)/tls1.7/libtls1.7.dylib + install_name_tool -id "${EPREFIX}"/${loc} "${ED}"/${loc} || die + fi +} |