diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 09:11:11 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-02-02 09:11:11 +0000 |
commit | 2eea0e3bfc8ff70c2f0a9e65821301bbacb359e7 (patch) | |
tree | 3623ed0a2d2d09821e34d76742e36edb72a2873b /dev-util/vdkbuilder | |
parent | Bump (diff) | |
download | gentoo-2-2eea0e3bfc8ff70c2f0a9e65821301bbacb359e7.tar.gz gentoo-2-2eea0e3bfc8ff70c2f0a9e65821301bbacb359e7.tar.bz2 gentoo-2-2eea0e3bfc8ff70c2f0a9e65821301bbacb359e7.zip |
Bump
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util/vdkbuilder')
-rw-r--r-- | dev-util/vdkbuilder/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild | 64 |
2 files changed, 71 insertions, 3 deletions
diff --git a/dev-util/vdkbuilder/ChangeLog b/dev-util/vdkbuilder/ChangeLog index 76f91513c942..7101a6eaf4fa 100644 --- a/dev-util/vdkbuilder/ChangeLog +++ b/dev-util/vdkbuilder/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/vdkbuilder -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/vdkbuilder/ChangeLog,v 1.26 2010/09/26 14:00:21 ssuominen Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/vdkbuilder/ChangeLog,v 1.27 2013/02/02 09:11:11 patrick Exp $ + +*vdkbuilder-2.5.0 (02 Feb 2013) + + 02 Feb 2013; Patrick Lauer <patrick@gentoo.org> +vdkbuilder-2.5.0.ebuild: + Bump 26 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> vdkbuilder-2.4.0.ebuild, +files/vdkbuilder-2.4.0-make-382.patch: @@ -84,4 +89,3 @@ 20 Jun 2002; J.Alberto S.L. <bass@gentoo.org> vdkbuilder-2.0.2.ebuild: First relase. - 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..e73633de2087 --- /dev/null +++ b/dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/vdkbuilder/vdkbuilder-2.5.0.ebuild,v 1.1 2013/02/02 09:11:10 patrick Exp $ + +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 ~sparc ~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 +} + +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 +} |