mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/codeblocks: Removed (build failure)
This commit is contained in:
parent
22ebd46250
commit
2c3062f527
5 changed files with 0 additions and 117 deletions
|
@ -1,6 +0,0 @@
|
|||
Code::Blocks is a free C++ IDE built to meet the most demanding needs of its
|
||||
users. It is designed to be very extensible and fully configurable.
|
||||
Built around a plugin framework, Code::Blocks can be extended with plugins.
|
||||
Any kind of functionality can be added by installing/coding a plugin.
|
||||
|
||||
This requires libmspack and either wxGTK or wxPython.
|
|
@ -1,68 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Code::Blocks
|
||||
# Written by Jeanne-Kamikaze (AKA SlackerJeanne) (jeannekamikaze@gmail.com)
|
||||
# Modified by Erik Hanson <erik@slackbuilds.org>
|
||||
|
||||
PRGNAM=codeblocks
|
||||
VERSION=8.02
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG
|
||||
rm -rf $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP
|
||||
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var/lib \
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--with-contrib-plugins=all \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
gzip -9 $PKG/usr/man/man?/*.?
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS BUGS BUILD COMPILERS COPYING NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="codeblocks"
|
||||
VERSION="8.02"
|
||||
HOMEPAGE="http://www.codeblocks.org"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/codeblocks/codeblocks-8.02-src.tar.bz2"
|
||||
MD5SUM="ac15b4b3de50d7650c2f7a8dbcb30f88"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Jeanne-Kamikaze"
|
||||
EMAIL="jeannekamikaze@gmail.com"
|
||||
APPROVED="Erik Hanson"
|
|
@ -1,14 +0,0 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/gnome/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/gnome >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
codeblocks: Code::Blocks (a free C++ IDE)
|
||||
codeblocks:
|
||||
codeblocks: Code::Blocks is a free C++ IDE built to meet the most demanding
|
||||
codeblocks: needs of its users. It is designed to be very extensible and fully
|
||||
codeblocks: configurable.
|
||||
codeblocks:
|
||||
codeblocks: Homepage: http://www.codeblocks.org/
|
||||
codeblocks:
|
||||
codeblocks:
|
||||
codeblocks:
|
||||
codeblocks:
|
Loading…
Reference in a new issue