diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tcltk/tclperl/tclperl-3.2-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tcltk/tclperl/tclperl-3.2-r1.ebuild')
-rw-r--r-- | dev-tcltk/tclperl/tclperl-3.2-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-tcltk/tclperl/tclperl-3.2-r1.ebuild b/dev-tcltk/tclperl/tclperl-3.2-r1.ebuild new file mode 100644 index 000000000000..b151af67051a --- /dev/null +++ b/dev-tcltk/tclperl/tclperl-3.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit flag-o-matic multilib toolchain-funcs + +DESCRIPTION="Perl package for Tcl" +HOMEPAGE="http://jfontain.free.fr/tclperl.htm" +SRC_URI="http://jfontain.free.fr/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +DEPEND=" + >=dev-lang/tcl-8.3.3:0 + >=dev-lang/perl-5.6.0" +RDEPEND="${DEPEND}" + +src_compile() { + append-flags -fPIC + + # ./build.sh + perl Makefile.PL || die + emake OPTIMIZE="${CFLAGS}" Tcl.o + + $(tc-getCC) -shared ${LDFLAGS} ${CFLAGS} -o tclperl.so.${PV} -DUSE_TCL_STUBS \ + tclperl.c tclthread.c `perl -MExtUtils::Embed -e ccopts -e ldopts` \ + /usr/$(get_libdir)/libtclstub`echo 'puts $tcl_version' | tclsh`.a Tcl.o || die +} + +src_install() { + exeinto /usr/$(get_libdir)/${P} + doexe tclperl.so.${PV} + doexe pkgIndex.tcl + + dodoc CHANGES README + dohtml tclperl.htm +} |