diff options
author | Giovanne Castro <giovannefc@ig.com.br> | 2011-05-16 20:58:55 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-17 09:56:19 -0500 |
commit | c955ae0724c96c224cb8c4037bbb547ccbdf8301 (patch) | |
tree | 9de85789468a2b0a465b4f70686b0097fa704468 /multimedia/imagination/imagination.SlackBuild | |
parent | a02a59b20a873d0167e3848885a6752ce7987ce2 (diff) | |
download | slackbuilds-c955ae0724c96c224cb8c4037bbb547ccbdf8301.tar.gz |
multimedia/imagination: Updated for version 3.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia/imagination/imagination.SlackBuild')
-rw-r--r-- | multimedia/imagination/imagination.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/imagination/imagination.SlackBuild b/multimedia/imagination/imagination.SlackBuild index fdfd2434ab..d8fed69c97 100644 --- a/multimedia/imagination/imagination.SlackBuild +++ b/multimedia/imagination/imagination.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for imagination -# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> +# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,9 +21,11 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# Transition patch added by Roberto Metere, Cagliari, Italy <roberto@metere.it> PRGNAM=imagination -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,13 +56,13 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -69,6 +71,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Enable all transitions with a patch +patch src/support.h -i $CWD/enable_transitions.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -76,7 +81,9 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --build=$ARCH-slackware-linux -make +# configure.in forces a debug build with -g in CFLAGS, +# so we force it to use our SLKCFLAGS during "make" +make V=1 CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |