diff options
Diffstat (limited to 'dev-tcltk/thread')
-rw-r--r-- | dev-tcltk/thread/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/thread/metadata.xml | 8 | ||||
-rw-r--r-- | dev-tcltk/thread/thread-2.7.1.ebuild | 50 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-tcltk/thread/Manifest b/dev-tcltk/thread/Manifest new file mode 100644 index 000000000000..1e7d6f930a8d --- /dev/null +++ b/dev-tcltk/thread/Manifest @@ -0,0 +1 @@ +DIST thread2.7.1.tar.gz 295134 SHA256 0982027928adcca8a0ea7b47ea41b7d2529b10bb59ccb2d6b9181af7de98bab0 SHA512 18ebd9431b6f6bfb1e6a60797af39db0dee29a16cd457ddab2a18cd5dfd9ef2dea9284ab99238fb05b8284fcc855c2ef8011eb3ed02d7e54d715379d133512dc WHIRLPOOL fde8fb025973666294080a7b9356cb831db4843a09153ca0e810de77e6857ef344e4780816276ed047ec0b0d663fa72a07aeebf9900aa00479b77efd558243db diff --git a/dev-tcltk/thread/metadata.xml b/dev-tcltk/thread/metadata.xml new file mode 100644 index 000000000000..6aece7ec2ee6 --- /dev/null +++ b/dev-tcltk/thread/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tcltk</herd> + <upstream> + <remote-id type="sourceforge">tcl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-tcltk/thread/thread-2.7.1.ebuild b/dev-tcltk/thread/thread-2.7.1.ebuild new file mode 100644 index 000000000000..087930c6ffaf --- /dev/null +++ b/dev-tcltk/thread/thread-2.7.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib + +MY_P="${PN}${PV}" +TCL_VER="8.6.2" + +DESCRIPTION="Tcl Thread extension" +HOMEPAGE="http://www.tcl.tk/" +SRC_URI="mirror://sourceforge/project/tcl/Tcl/${TCL_VER}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" +IUSE="debug gdbm" + +DEPEND=" + dev-lang/tcl:0=[threads] + gdbm? ( sys-libs/gdbm )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${PN}${PV} + +RESTRICT="test" + +src_prepare() { + # Search for libs in libdir not just exec_prefix/lib + sed -i -e 's:${exec_prefix}/lib:${libdir}:' \ + aclocal.m4 || die "sed failed" + + sed -i -e "s/relid'/relid/" tclconfig/tcl.m4 || die + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-tclinclude="${EPREFIX}/usr/include" + --with-tcl="${EPREFIX}/usr/$(get_libdir)" + ) + use gdbm && myconf+=( --with-gdbm ) + use debug && myconf+=( --enable-symbols ) + autotools-utils_src_configure +} |