diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2018-11-03 14:53:37 +0100 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2018-11-03 14:54:04 +0100 |
commit | 90136d57ebd87b2d6a14cb0634ce999ab3b6b7ff (patch) | |
tree | 8bb344b1f61f942e13bf2919080f11d693dcbf38 /dev-tcltk/tls/tls-1.7.16.ebuild | |
parent | media-sound/mpd: Version bump (v0.21) (diff) | |
download | gentoo-90136d57ebd87b2d6a14cb0634ce999ab3b6b7ff.tar.gz gentoo-90136d57ebd87b2d6a14cb0634ce999ab3b6b7ff.tar.bz2 gentoo-90136d57ebd87b2d6a14cb0634ce999ab3b6b7ff.zip |
dev-tcltk/tls: Version bump to 1.7.16
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-tcltk/tls/tls-1.7.16.ebuild')
-rw-r--r-- | dev-tcltk/tls/tls-1.7.16.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-tcltk/tls/tls-1.7.16.ebuild b/dev-tcltk/tls/tls-1.7.16.ebuild new file mode 100644 index 000000000000..c553132cdeca --- /dev/null +++ b/dev-tcltk/tls/tls-1.7.16.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 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="~alpha ~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 +} |