/[gentoo-x86]/dev-util/codeblocks/codeblocks-1.0_pre20071215.ebuild
Gentoo

Contents of /dev-util/codeblocks/codeblocks-1.0_pre20071215.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Apr 30 20:27:26 2012 UTC (2 years, 6 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Update to eapi4. Fix wrong license wrt bug#414169. Remove overshadowed old version.

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 ssuominen 1.3 # Copyright 1999-2009 Gentoo Foundation
2 jurek 1.1 # Distributed under the terms of the GNU General Public License v2
3 scarabeus 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-util/codeblocks/codeblocks-1.0_pre20071215.ebuild,v 1.3 2009/10/12 08:00:40 ssuominen Exp $
4 jurek 1.1
5     WX_GTK_VER="2.8"
6 ssuominen 1.3 inherit eutils wxwidgets
7 jurek 1.2
8 jurek 1.1 DESCRIPTION="Code::Blocks - a free cross-platform C/C++ IDE"
9     HOMEPAGE="http://www.codeblocks.org/"
10     SRC_URI="mirror://gentoo/${P}.tar.bz2"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
15 jurek 1.2 IUSE="contrib debug"
16 jurek 1.1
17     RDEPEND="=x11-libs/wxGTK-${WX_GTK_VER}*"
18     DEPEND="${RDEPEND}
19     >=sys-devel/autoconf-2.5
20     >=sys-devel/automake-1.7
21     >=sys-devel/libtool-1.4
22     app-arch/zip"
23    
24 jurek 1.2 #pkg_setup() {
25     # if use unicode; then
26     # #check for gtk2-unicode
27     # need-wxwidgets unicode
28     # else
29     # #check for gtk2-ansi
30     # need-wxwidgets gtk2
31     # fi
32     #}
33 jurek 1.1
34     src_compile() {
35     export WANT_AUTOCONF=2.5
36     export WANT_AUTOMAKE=1.7
37    
38     local TMP
39    
40     TMP="/usr/share/aclocal/libtool.m4"
41     einfo "Running ./bootstrap"
42     if [ -e "$TMP" ]; then
43     cp "$TMP" aclocal.m4 || die "cp failed"
44     fi
45     ./bootstrap || die "boostrap failed"
46    
47     econf --with-wx-config="${WX_CONFIG}" \
48     $(use_enable contrib) \
49     $(use_enable debug) \
50     || die "econf failed"
51    
52     emake || die "emake failed"
53     }
54    
55     src_install() {
56     make install DESTDIR="${D}" || die "make install failed"
57     }

  ViewVC Help
Powered by ViewVC 1.1.20