summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-02-15 15:18:22 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-02-15 15:18:22 +0000
commit5c0efb003a39160eff8e9416c434a4c3cb43dde8 (patch)
tree9f00614d7a6e16ee88ad8bf0124155948018fbaf
parentuse.local.desc: Added contrib USE flag for dev-util/codeblocks (diff)
downloadgentoo-2-5c0efb003a39160eff8e9416c434a4c3cb43dde8.tar.gz
gentoo-2-5c0efb003a39160eff8e9416c434a4c3cb43dde8.tar.bz2
gentoo-2-5c0efb003a39160eff8e9416c434a4c3cb43dde8.zip
dev-util/codeblocks initial import
(Portage version: 2.1.2-r9)
-rw-r--r--dev-util/codeblocks/ChangeLog10
-rw-r--r--dev-util/codeblocks/Manifest16
-rw-r--r--dev-util/codeblocks/codeblocks-1.0_pre20070124.ebuild64
-rw-r--r--dev-util/codeblocks/files/digest-codeblocks-1.0_pre200701243
-rw-r--r--dev-util/codeblocks/metadata.xml8
5 files changed, 101 insertions, 0 deletions
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 <jurek@gentoo.org> +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..b94557b5adf6
--- /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 1261 RMD160 709d64ef4b9ff8a54826e8ffd415082f7a799d8a SHA1 69d5e0a8584f5179d3c89dc8bc92cb024c0d7551 SHA256 2df5486c458370721295c8a5242a9bfc03de6c8137dac5c54e143901cc18d1bb
+MD5 1ed167b23870adb98ff53430bfa3b7f3 codeblocks-1.0_pre20070124.ebuild 1261
+RMD160 709d64ef4b9ff8a54826e8ffd415082f7a799d8a codeblocks-1.0_pre20070124.ebuild 1261
+SHA256 2df5486c458370721295c8a5242a9bfc03de6c8137dac5c54e143901cc18d1bb codeblocks-1.0_pre20070124.ebuild 1261
+MISC ChangeLog 337 RMD160 10ea9871d76038250f904b75ce941e713a07470b SHA1 dee6d1c9460c0d8e8c8a86febe03c0c6cb3009a7 SHA256 2ac8dd848b809fe387fae1ed1861cca4306e602ab351b2a8accb64de3afae417
+MD5 90c7e18682eaf007426b461896e582b9 ChangeLog 337
+RMD160 10ea9871d76038250f904b75ce941e713a07470b ChangeLog 337
+SHA256 2ac8dd848b809fe387fae1ed1861cca4306e602ab351b2a8accb64de3afae417 ChangeLog 337
+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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>jurek@gentoo.org</email>
+ <name>Jurek Bartuszek</name>
+</maintainer>
+</pkgmetadata>