LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 965|回复: 2

codeblocks-svn

[复制链接]
发表于 2007-12-31 12:37:41 | 显示全部楼层 |阅读模式
源里的没插件,谁帮忙到arch的地儿吼下?

PKG:
http://www.fs2you.com/files/d95792a3-b759-11dc-a0a4-00142218fc6e/

makepkg.conf:
CFLAGS="-march=i686 -mtune=generic -O2 -march=pentium3 -pipe -mfpmath=sse"
CXXFLAGS="-march=i686 -mtune=generic -O2 -march=pentium3 -pipe -mfpmath=sse"

PKGBUILD:
pkgname=codeblocks-svn
pkgver=4750
pkgrel=1
pkgdesc="C++ IDE built specifically to meet the most demanding needs of its user"
arch=(i686)
url="http://www.codeblocks.org/"
license=('GPL2')
depends=('wxgtk>=2.6.1')
makedepends=('zip>=2.10' 'autoconf')
provides=()
conflicts=()
replaces=(codeblocks)  //后来加的
backup=()
install=
noextract=()

_svntrunk=svn://svn.berlios.de/codeblocks
_svnmod=trunk

build() {
    export CC="ccache gcc"
    export CPP="ccache cpp"
    export CXX="ccache g++"
    cd $startdir/src/
    msg "Connecting to the SVN server...."
    svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver $_svnmod || return 1
    cd $_svnmod
    msg "dependence test is running..."
    ./bootstrap
    msg "dependences are OK"
    msg "configure is running..."
    ./configure   --prefix=/usr --with-contrib-plugins=all
    msg "confifure is OK"
    sleep 2
    msg "make is runing...."
    make || return 1
    make DESTDIR=$startdir/pkg install
    msg "make is done OK"
    export CC="gcc"
    export CPP="cpp"
    export CXX="g++"
}
发表于 2007-12-31 15:24:48 | 显示全部楼层
我这里codeblocks从来都不能运行。。不知道svn版本如何
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-31 17:47:01 | 显示全部楼层
源里现已有nightly build,运行没问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表