summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-13 12:41:26 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-13 12:41:26 +0000
commit3d56538a0f277e43f0050331d952cbad8a828611 (patch)
treed0666a79df0020989463b8e9dc7f830f683c0c20 /dev-tcltk/itk
parentadd ~arm, bug #449762 (diff)
downloadgentoo-2-3d56538a0f277e43f0050331d952cbad8a828611.tar.gz
gentoo-2-3d56538a0f277e43f0050331d952cbad8a828611.tar.bz2
gentoo-2-3d56538a0f277e43f0050331d952cbad8a828611.zip
dev-tcltk/itk: Version BUmp, #451154; prepared by Karl Ernst Brunk
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-tcltk/itk')
-rw-r--r--dev-tcltk/itk/ChangeLog10
-rw-r--r--dev-tcltk/itk/files/itk-4.0_beta6-install_data.patch20
-rw-r--r--dev-tcltk/itk/itk-4.0_beta6.ebuild59
-rw-r--r--dev-tcltk/itk/metadata.xml2
4 files changed, 88 insertions, 3 deletions
diff --git a/dev-tcltk/itk/ChangeLog b/dev-tcltk/itk/ChangeLog
index b7924968d227..e748d154d342 100644
--- a/dev-tcltk/itk/ChangeLog
+++ b/dev-tcltk/itk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tcltk/itk
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itk/ChangeLog,v 1.34 2012/10/07 17:49:27 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itk/ChangeLog,v 1.35 2013/01/13 12:41:26 jlec Exp $
+
+*itk-4.0_beta6 (13 Jan 2013)
+
+ 13 Jan 2013; Justin Lecher <jlec@gentoo.org> +itk-4.0_beta6.ebuild,
+ +files/itk-4.0_beta6-install_data.patch, metadata.xml:
+ Version BUmp, #451154; prepared by Karl Ernst Brunk
07 Oct 2012; Justin Lecher <jlec@gentoo.org> -itk-3.3-r1.ebuild,
-itk-3.3.1_pre20090417-r1.ebuild, itk-3.4_pre20090417.ebuild,
diff --git a/dev-tcltk/itk/files/itk-4.0_beta6-install_data.patch b/dev-tcltk/itk/files/itk-4.0_beta6-install_data.patch
new file mode 100644
index 000000000000..caea5ba9e381
--- /dev/null
+++ b/dev-tcltk/itk/files/itk-4.0_beta6-install_data.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.ori 2013-01-10 19:43:56.349623406 +0100
++++ Makefile.in 2013-01-10 19:46:08.634960354 +0100
+@@ -100,10 +100,13 @@
+
+ top_builddir = .
+
+-INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_OPTIONS =
++INSTALL = $(SHELL) $(srcdir)/tclconfig/install-sh -c ${INSTALL_OPTIONS}
++INSTALL_DATA_DIR = ${INSTALL} -d -m 755
++INSTALL_PROGRAM = ${INSTALL} -m 755
++INSTALL_DATA = ${INSTALL} -m 444
++INSTALL_SCRIPT = ${INSTALL_PROGRAM}
++INSTALL_LIBRARY = ${INSTALL_DATA}
+
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
diff --git a/dev-tcltk/itk/itk-4.0_beta6.ebuild b/dev-tcltk/itk/itk-4.0_beta6.ebuild
new file mode 100644
index 000000000000..d96b89cd3017
--- /dev/null
+++ b/dev-tcltk/itk/itk-4.0_beta6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itk/itk-4.0_beta6.ebuild,v 1.1 2013/01/13 12:41:26 jlec Exp $
+
+EAPI=5
+
+inherit autotools eutils multilib versionator
+
+MY_PV=${PV/_beta/b}
+ITCL_VERSION="$(get_version_component_range 1-2)"
+
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/Itcl%20${MY_PV}/${PN}${MY_PV}.tar.gz"
+#SRC_URI="mirror://sourceforge/%5Bincr%20Tcl_Tk%5D-4-source/Itcl%20${MY_PV}/${PN}${MY_PV}.tar.gz"
+
+IUSE=""
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ >=dev-lang/tk-8.6
+ =dev-tcltk/itcl-${ITCL_VERSION}*"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}${MY_PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install_data.patch
+ AT_M4DIR=.. eautoconf
+ sed 's:-pipe::g' -i configure || die
+}
+
+src_configure() {
+ source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
+ econf \
+ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tk="${EPREFIX}"/usr/$(get_libdir) \
+ --with-tclinclude="${EPREFIX}"/usr/include \
+ --with-tkinclude="${EPREFIX}"/usr/include \
+ --with-itcl="${ITCL_SRC_DIR}" \
+ --with-x
+}
+
+src_compile() {
+ emake CFLAGS_DEFAULT="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc license.terms
+
+ cat >> "${T}"/34${PN} <<- EOF
+ LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}${MY_PV}/"
+ EOF
+ doenvd "${T}"/34${PN}
+}
diff --git a/dev-tcltk/itk/metadata.xml b/dev-tcltk/itk/metadata.xml
index 815cc916f2b6..70ac40499556 100644
--- a/dev-tcltk/itk/metadata.xml
+++ b/dev-tcltk/itk/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>tcltk</herd>
+ <herd>tcltk</herd>
</pkgmetadata>