diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2007-04-04 21:11:48 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2007-04-04 21:11:48 +0000 |
commit | 5298e5149f4d63dc0c1c91fe4230b233d5655d57 (patch) | |
tree | a013f33519f598cfbfd66c19becf2a9caa0c76e3 /dev-util | |
parent | fix ChangeLog header (diff) | |
download | gentoo-2-5298e5149f4d63dc0c1c91fe4230b233d5655d57.tar.gz gentoo-2-5298e5149f4d63dc0c1c91fe4230b233d5655d57.tar.bz2 gentoo-2-5298e5149f4d63dc0c1c91fe4230b233d5655d57.zip |
dev-util/codeblocks: Version bump (fixing bug #172932)
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/codeblocks/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/codeblocks/codeblocks-1.0_pre20070404.ebuild | 64 | ||||
-rw-r--r-- | dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070404 | 3 |
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-util/codeblocks/ChangeLog b/dev-util/codeblocks/ChangeLog index 93e00dca026b..f2817e43cc2e 100644 --- a/dev-util/codeblocks/ChangeLog +++ b/dev-util/codeblocks/ChangeLog @@ -1,6 +1,11 @@ # 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.4 2007/04/04 17:21:18 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/ChangeLog,v 1.5 2007/04/04 21:11:48 jurek Exp $ + +*codeblocks-1.0_pre20070404 (04 Apr 2007) + + 04 Apr 2007; Jurek Bartuszek <jurek@gentoo.org> +codeblocks-1.0_pre20070404.ebuild: + Version bump (fixing bug #172932) 04 Apr 2007; Peter Weller <welp@gentoo.org> codeblocks-1.0_pre20070124.ebuild: diff --git a/dev-util/codeblocks/codeblocks-1.0_pre20070404.ebuild b/dev-util/codeblocks/codeblocks-1.0_pre20070404.ebuild new file mode 100644 index 000000000000..cc2b0b6f349a --- /dev/null +++ b/dev-util/codeblocks/codeblocks-1.0_pre20070404.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_pre20070404.ebuild,v 1.1 2007/04/04 21:11:48 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="~amd64 ~ppc ~x86 ~x86-fbsd" +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_pre20070404 b/dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070404 new file mode 100644 index 000000000000..6b0695181b55 --- /dev/null +++ b/dev-util/codeblocks/files/digest-codeblocks-1.0_pre20070404 @@ -0,0 +1,3 @@ +MD5 88945432f424b6bb4ebd535fab56b22e codeblocks-1.0_pre20070404.tar.bz2 7788773 +RMD160 b5d8b3ac1afeb4078bc7b9a31b596b739af29031 codeblocks-1.0_pre20070404.tar.bz2 7788773 +SHA256 1dabe559381353a04011c8e5fd13a6d12a109f411e195d534903a10b7a65b3f0 codeblocks-1.0_pre20070404.tar.bz2 7788773 |