You are not logged in.

#1 2005-05-08 07:51:24

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

[Development] Code::Blocks C/C++ IDE

heres an incomplete pkgbuild for code::blocks.

the trouble is it uses a non-standard build script, once it compiles, the files are all over the place, i have no idea where the files are, or where to put them!! (hence the return 1 in the pkgbuild)

any help packaging this would be good since im after a replacement for Anjuta (its code completion is basically non-existant, its auto-formatting and `indent' code is terrible.. bleugh)

here is the wiki for its installation, its not much help at all
http://codeblocks.sourceforge.net/wiki/ … distros%29


#contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
pkgname=codeblocks
pkgver=1.0beta7
pkgrel=1
pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
url="http://www.codeblocks.org/"
license="GPL"
depends=('wxgtk')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-1.0-beta7.tar.gz)

build()
{
  cd $startdir/src/$pkgname-1.0-beta7/src/

  make -f Makefile.unix prefix=$startdir/pkg

return 1
}
md5sums=('c5f5d3c1e9bb29d9d746a153e781015b')

Offline

#2 2005-10-03 18:41:41

BartL
Member
From: The Netherlands
Registered: 2005-06-21
Posts: 29
Website

Re: [Development] Code::Blocks C/C++ IDE

This works fine:

#contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
#contributor: Bart Leusink <bartleusink@gmail.com

pkgname=codeblocks-cvs
pkgver=20051003
pkgrel=2
pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
url="http://www.codeblocks.org/"
depends=('wxgtk')
conflicts=(codeblocks)
provides=(codeblocks)
source=()
md5sums=() 

build()
{
cvs -z5 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co -P codeblocks
cd $startdir/src/codeblocks/
./bootstrap
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name '*.la' -exec rm {} ;
}

(cvs is the recommended way of installing codeblocks for linux)

Offline

#3 2005-10-03 19:16:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [Development] Code::Blocks C/C++ IDE

If you're going to make a cvs PKGBUILD, you should follow these guidelines:
http://wiki.archlinux.org/index.php/Arc … guidelines

Offline

#4 2005-10-03 19:40:35

BartL
Member
From: The Netherlands
Registered: 2005-06-21
Posts: 29
Website

Re: [Development] Code::Blocks C/C++ IDE

Okay, the PKGBUILD should be conform the guidelines now.

Offline

Board footer

Powered by FluxBB