summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/vdkbuilder
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/vdkbuilder')
-rw-r--r--dev-util/vdkbuilder/Manifest2
-rw-r--r--dev-util/vdkbuilder/files/vdkbuilder-2.4.0-make-382.patch23
-rw-r--r--dev-util/vdkbuilder/metadata.xml8
-rw-r--r--dev-util/vdkbuilder/vdkbuilder-2.4.0.ebuild60
-rw-r--r--dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild66
5 files changed, 159 insertions, 0 deletions
diff --git a/dev-util/vdkbuilder/Manifest b/dev-util/vdkbuilder/Manifest
new file mode 100644
index 000000000000..d6100bb18d98
--- /dev/null
+++ b/dev-util/vdkbuilder/Manifest
@@ -0,0 +1,2 @@
+DIST vdkbuilder2-2.4.0.tar.gz 1079112 SHA256 549a298214f314933d7b8d0e7785c98a388faad3ea0725a0dffc08d660174381 SHA512 9a40c7c4ea17aaa565cd2a3d8392f11d2cd336e7361134ea9f2a8b12bf6ee888f6e02daec60dbc0f80b37defb08eef54edf9547f209d8ddd43388c9bc514ff33 WHIRLPOOL 8d3cf5827c94e59bf0b9944ab4e4f7acba66b9962f58b602a79d2983349fae92e5e6a3ff623d59a7d691dfb8f03ce2f8731316bb401ad8d204525fffef0116ec
+DIST vdkbuilder2-2.5.0.tar.gz 1159849 SHA256 75053fa125b203e1aa4143eba8dd74698286eeb2458e52fa20c68c822c0640b4 SHA512 b100d433e0c8addafcece943a9da05c48985b18dfc7154df203fb0a2befbfa7caca42bd6ac4f764d66685dbaeb11916ae777da07d0b5e413a577bd764bcc4281 WHIRLPOOL a5116067491ebdbb6fcb622f7ed0de4c044adc4ede00e5f0cfdead013f2d1e55ac4c91b3bf46397bf925475399de9c979449a9638daf594e6a8293952b1df82c
diff --git a/dev-util/vdkbuilder/files/vdkbuilder-2.4.0-make-382.patch b/dev-util/vdkbuilder/files/vdkbuilder-2.4.0-make-382.patch
new file mode 100644
index 000000000000..4b0dc099607c
--- /dev/null
+++ b/dev-util/vdkbuilder/files/vdkbuilder-2.4.0-make-382.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/334847
+
+--- intl/Makefile.in
++++ intl/Makefile.in
+@@ -202,12 +202,12 @@
+ # The dependency for intlh.inst is different in gettext and all other
+ # packages. Because we cannot you GNU make features we have to solve
+ # the problem while rewriting Makefile.in.
+-@GT_YES@intlh.inst: intlh.inst.in ../config.status
+-@GT_YES@ cd .. \
+-@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
+-@GT_YES@ $(SHELL) ./config.status
+-@GT_NO@.PHONY: intlh.inst
+-@GT_NO@intlh.inst:
++intlh.inst: intlh.inst.in ../config.status
++ cd .. \
++ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
++ $(SHELL) ./config.status
++.PHONY: intlh.inst
++intlh.inst:
+
+ # Tell versions [3.59,3.63) of GNU make not to export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/dev-util/vdkbuilder/metadata.xml b/dev-util/vdkbuilder/metadata.xml
new file mode 100644
index 000000000000..7f6fbc2997c2
--- /dev/null
+++ b/dev-util/vdkbuilder/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>lang-misc</herd>
+ <upstream>
+ <remote-id type="sourceforge">vdkbuilder</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/vdkbuilder/vdkbuilder-2.4.0.ebuild b/dev-util/vdkbuilder/vdkbuilder-2.4.0.ebuild
new file mode 100644
index 000000000000..0c7ceebffeed
--- /dev/null
+++ b/dev-util/vdkbuilder/vdkbuilder-2.4.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+MY_P=${PN}2-${PV}
+
+DESCRIPTION="The Visual Development Kit used for VDK Builder"
+HOMEPAGE="http://vdkbuilder.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=" ppc x86"
+IUSE="nls debug"
+
+RDEPEND=">=dev-libs/vdk-2.4.0"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+custom_cflags() {
+ for files in *
+ do
+ if [ -e ${files}/Makefile ]
+ then
+ sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS} -I../include/" -i ${files}/Makefile
+ sed -e "s/CXXFLAGS = .*/CFLAGS = ${CXXFLAGS} -I../include/" -i ${files}/Makefile
+ fi
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-make-382.patch
+}
+
+src_compile() {
+ local myconf=""
+
+ use debug \
+ && myconf="${myconf} --enable-devel=yes" \
+ || myconf="${myconf} --enable-devel=no"
+
+ econf \
+ $(use_enable nls) \
+ --disable-vdktest \
+ ${myconf} || die "econf failed"
+
+ custom_cflags
+
+ emake -j1 || die
+}
+
+src_install () {
+ einstall || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+}
diff --git a/dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild b/dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild
new file mode 100644
index 000000000000..f59bf8453d8a
--- /dev/null
+++ b/dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools
+
+MY_P=${PN}2-${PV}
+
+DESCRIPTION="The Visual Development Kit used for VDK Builder"
+HOMEPAGE="http://vdkbuilder.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=" ~amd64 ~ppc ~x86"
+IUSE="nls debug"
+
+RDEPEND=">=dev-libs/vdk-2.5.0"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+custom_cflags() {
+ for files in *
+ do
+ if [ -e ${files}/Makefile ]
+ then
+ sed -e "s/CFLAGS = .*/CFLAGS = ${CFLAGS} -I../include/" -i ${files}/Makefile
+ sed -e "s/CXXFLAGS = .*/CFLAGS = ${CXXFLAGS} -I../include/" -i ${files}/Makefile
+ fi
+ done
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.0-make-382.patch || die
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
+ eautoreconf
+}
+
+src_configure() {
+ eautoreconf
+
+ local myconf=""
+
+ use debug \
+ && myconf="${myconf} --enable-devel=yes" \
+ || myconf="${myconf} --enable-devel=no"
+
+ econf \
+ $(use_enable nls) \
+ --disable-vdktest \
+ ${myconf} || die "econf failed"
+
+ custom_cflags
+}
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_install () {
+ einstall || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+}