From 4051ad3647df5a9178817c614de6f014c8736dd7 Mon Sep 17 00:00:00 2001 From: antonioleal Date: Wed, 5 Jun 2013 12:03:07 -0400 Subject: development/codeblocks: Updated for version 12.11. Signed-off-by: dsomero --- development/codeblocks/codeblocks.SlackBuild | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'development/codeblocks/codeblocks.SlackBuild') diff --git a/development/codeblocks/codeblocks.SlackBuild b/development/codeblocks/codeblocks.SlackBuild index ff9aeb506b..26b0af2b2c 100644 --- a/development/codeblocks/codeblocks.SlackBuild +++ b/development/codeblocks/codeblocks.SlackBuild @@ -1,11 +1,12 @@ #!/bin/sh # Slackware build script for codeblocks -# Written by Mehdi Esmaeelpour | ariarat@gmail.com | www.slack-world.com/ariarat +# Written by Mehdi Esmaeelpour | ariarat@gmail.com | www.slack-world.com/ariarat +# Adapted by Antonio Leal | antonioleal@yahoo.com PRGNAM=codeblocks -VERSION=${VERSION:-10.05} -BUILD=${BUILD:-2} +VERSION=${VERSION:-12.11} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,9 +41,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-release -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 -cd $PRGNAM-$VERSION-release +rm -rf $PRGNAM-$VERSION\release8629 +tar xvfz $CWD/$PRGNAM\_$VERSION-1.tar.gz +cd $PRGNAM-$VERSION\release8629 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -50,13 +51,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Add a patch for gcc-4.7.x, (thans Debian) -patch -p1 < $CWD/ftbfs-gcc-4.7.diff - -# This move the codeblocks plugins to /usr/lib$LIBDIRSUFFIX/codeblock/plugins -# Take care to move the additional ones you have installed if upgrading -sed -e "s|usr/lib|usr/lib$LIBDIRSUFFIX|" $CWD/01-codeblocks_plugin_path.patch \ - | patch -p1 +./bootstrap LDFLAGS="-lX11" \ CFLAGS="$SLKCFLAGS" \ @@ -69,8 +64,8 @@ CXXFLAGS="$SLKCFLAGS -fpermissive" \ --mandir=/usr/man \ --docdir=/usr/doc/$PKGNAME-$VERSION \ --disable-static \ - --with-contrib-plugins=all \ --build=$ARCH-slackware-linux +# --with-contrib-plugins=all \ make make install-strip DESTDIR=$PKG -- cgit v1.2.3