From 96c5403b3b19ce82066d8fc77b9887683caaa375 Mon Sep 17 00:00:00 2001 From: Jurek Bartuszek Date: Thu, 15 Feb 2007 15:18:22 +0000 Subject: [PATCH] dev-util/codeblocks initial import Package-Manager: portage-2.1.2-r9 --- dev-util/codeblocks/ChangeLog | 10 +++ dev-util/codeblocks/Manifest | 16 +++++ .../codeblocks-1.0_pre20070124.ebuild | 64 +++++++++++++++++++ .../files/digest-codeblocks-1.0_pre20070124 | 3 + dev-util/codeblocks/metadata.xml | 8 +++ 5 files changed, 101 insertions(+) create mode 100644 dev-util/codeblocks/ChangeLog create mode 100644 dev-util/codeblocks/Manifest create mode 100644 dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild create mode 100644 dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070124 create mode 100644 dev-util/codeblocks/metadata.xml diff --git a/dev-util/codeblocks/ChangeLog b/dev-util/codeblocks/ChangeLog new file mode 100644 index 000000000000..d32bdf5a557e --- /dev/null +++ b/dev-util/codeblocks/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-util/codeblocks +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.1 2007/02/15 15:18:22 jurek Exp $ + +*codeblocks-1.0_pre20070124 (15 Feb 2007) + + 15 Feb 2007; Jurek Bartuszek +metadata.xml, + +codeblocks-1.0_pre20070124.ebuild: + Initial build using snapshot from svn repository. Fixing bug #89533 + diff --git a/dev-util/codeblocks/Manifest b/dev-util/codeblocks/Manifest new file mode 100644 index 000000000000..5153639914dc --- /dev/null +++ b/dev-util/codeblocks/Manifest @@ -0,0 +1,16 @@ +DIST codeblocks-1.0_pre20070124.tar.bz2 7647667 RMD160 65066804c8d623e1e884b31ed3d2ee31018d9405 SHA1 577e239c193e51ed7d483ed1a5cb9eb13bc7a4cf SHA256 c9814a463c4d97063e4b83a126b41fafb47325ce90bdad76ab23ca75e67366f1 +EBUILD codeblocks-1.0_pre20070124.ebuild 1375 RMD160 233ea47a449bf77c2d5ffbc95df542d3c2ec192a SHA1 26d9686cfc971aaa5ea1c5546da91be527267e75 SHA256 2bb1c67db778959fc892f6b7b319da28680955dd88ca90a9aeae5a90f14faa4b +MD5 bffce426a314022fff3aba83b66e463a codeblocks-1.0_pre20070124.ebuild 1375 +RMD160 233ea47a449bf77c2d5ffbc95df542d3c2ec192a codeblocks-1.0_pre20070124.ebuild 1375 +SHA256 2bb1c67db778959fc892f6b7b319da28680955dd88ca90a9aeae5a90f14faa4b codeblocks-1.0_pre20070124.ebuild 1375 +MISC ChangeLog 427 RMD160 67c27877b23fe02e1ebf9d63eed970f8a562afbf SHA1 08bba8a0115af00d352feed2abff284dc79e1346 SHA256 2a50f044ab9451552db0251f294337b602f9ffd432a3750816479282760c374d +MD5 9303425b3dac57ac69950ee8822e540b ChangeLog 427 +RMD160 67c27877b23fe02e1ebf9d63eed970f8a562afbf ChangeLog 427 +SHA256 2a50f044ab9451552db0251f294337b602f9ffd432a3750816479282760c374d ChangeLog 427 +MISC metadata.xml 231 RMD160 92a69779fa0e91cc84a4786dc5a826426764d452 SHA1 8c0a3fa45546534cfaf911e5e63d9b91ac962ab9 SHA256 52e18d62cd635b1dd5f0966fbaf4acec48b71a27808ee162091ab6ce6b58ac6d +MD5 f1e8038d1a5053f6d699941a70d52956 metadata.xml 231 +RMD160 92a69779fa0e91cc84a4786dc5a826426764d452 metadata.xml 231 +SHA256 52e18d62cd635b1dd5f0966fbaf4acec48b71a27808ee162091ab6ce6b58ac6d metadata.xml 231 +MD5 9d4a6ecfad4142b52b9448f75d3d34cd files/digest-codeblocks-1.0_pre20070124 286 +RMD160 e7372a73c4959b9aec3e21c0900b2294ce389ee4 files/digest-codeblocks-1.0_pre20070124 286 +SHA256 15a0230c67cdeb5044621cf62c7313774cf279fb2eb9d490a55accaf919fe86f files/digest-codeblocks-1.0_pre20070124 286 diff --git a/dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild b/dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild new file mode 100644 index 000000000000..02191ad6839e --- /dev/null +++ b/dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild,v 1.1 2007/02/15 15:18:22 jurek Exp $ + +# +# WARNING: +# If you are using gtk2.8 you need to upgrade to wxGTK-2.6.2 +# + +inherit eutils autotools wxwidgets + +#needed for wxwidgets.eclass +WX_GTK_VER="2.6" + +DESCRIPTION="Code::Blocks - a free cross-platform C/C++ IDE" +HOMEPAGE="http://www.codeblocks.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="unicode contrib debug" + +RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*" + +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.5 + >=sys-devel/automake-1.7 + >=sys-devel/libtool-1.4" + +pkg_setup() { + if use unicode; then + #check for gtk2-unicode + need-wxwidgets unicode + else + #check for gtk2-ansi + need-wxwidgets gtk2 + fi +} + +src_compile() { + export WANT_AUTOCONF=2.5 + export WANT_AUTOMAKE=1.7 + + local TMP + + TMP="/usr/share/aclocal/libtool.m4" + einfo "Running ./bootstrap" + if [ -e "$TMP" ]; then + cp "$TMP" aclocal.m4 || die "cp failed" + fi + ./bootstrap || die "boostrap failed" + + econf --with-wx-config="${WX_CONFIG}" \ + $(use_enable contrib) \ + $(use_enable debug) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" +} diff --git a/dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070124 b/dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070124 new file mode 100644 index 000000000000..a5adcb673a45 --- /dev/null +++ b/dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070124 @@ -0,0 +1,3 @@ +MD5 287a48d7d49217e33264bcb3c52de456 codeblocks-1.0_pre20070124.tar.bz2 7647667 +RMD160 65066804c8d623e1e884b31ed3d2ee31018d9405 codeblocks-1.0_pre20070124.tar.bz2 7647667 +SHA256 c9814a463c4d97063e4b83a126b41fafb47325ce90bdad76ab23ca75e67366f1 codeblocks-1.0_pre20070124.tar.bz2 7647667 diff --git a/dev-util/codeblocks/metadata.xml b/dev-util/codeblocks/metadata.xml new file mode 100644 index 000000000000..cda15f213689 --- /dev/null +++ b/dev-util/codeblocks/metadata.xml @@ -0,0 +1,8 @@ + + + + + jurek@gentoo.org + Jurek Bartuszek + + -- 2.26.2