Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: me22 on September 11, 2005, 11:21:21 pm

Title: dev-util/codeblocks-cvs
Post by: me22 on September 11, 2005, 11:21:21 pm
Well, with this new build system I felt it would be easier to make an ebuild for it =)

Code
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

## if you're a developer, uncomment and fix these 3 lines
#ECVS_AUTH="ext"
#ECVS_USER="<usename>"
#ECVS_PASS="<password>"

ECVS_SERVER="cvs.sourceforge.net:/cvsroot/codeblocks"
ECVS_MODULE="codeblocks"

inherit cvs

DESCRIPTION="An open source, cross platform, free C++ IDE."
HOMEPAGE="http://www.codeblocks.org"
SRC_URI=""

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE="debug"

RDEPEND="
        "
DEPEND="${RDEPEND}
        "

S="${WORKDIR}/${ECVS_MODULE}"

src_compile() {
        ./bootstrap
        econf `use_enable debug` || die "configure failed"
        emake || die "make failed"
}

src_install() {
        #make install DESTDIR=${D} || die "install failed"
        einstall DESTDIR=${D} || die "install failed"
}
Title: Re: dev-util/codeblocks-cvs
Post by: mandrav on September 12, 2005, 08:39:33 am
Nice :D
ebuild, hmmm... Gentoo? :P

What should I do with this?  :oops:
Make it a download or send it to gentoo people?
Are there any special instructions on how to use it?
Title: Re: dev-util/codeblocks-cvs
Post by: gfgfd on September 14, 2005, 12:05:43 am
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
Title: Re: dev-util/codeblocks-cvs
Post by: mandrav on September 15, 2005, 08:49:19 am
Thanks :)