|
源里的没插件,谁帮忙到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++"
} |
|