From 02ed202236a375b5bb1c5c5b35a644f17fc2e21c Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 24 Mar 2012 16:42:07 +0000 Subject: Update to 0.8.2 --- qcomicbook/build/qcomicbook.SlackBuild | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'qcomicbook') diff --git a/qcomicbook/build/qcomicbook.SlackBuild b/qcomicbook/build/qcomicbook.SlackBuild index c7c6ad7c..bd8eadc4 100755 --- a/qcomicbook/build/qcomicbook.SlackBuild +++ b/qcomicbook/build/qcomicbook.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2011 Eric Hameleers, Eindhoven, NL +# Copyright 2011, 2012 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -32,6 +32,8 @@ # Changelog: # 0.8.1-1: 30/Jul/2011 by Eric Hameleers # * Initial build. +# 0.8.2-1: 24/mar/2012 by Eric Hameleers +# * Update. # # Run 'sh qcomicbook.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -42,7 +44,7 @@ # Set initial variables: PRGNAM=qcomicbook -VERSION=${VERSION:-0.8.1} +VERSION=${VERSION:-0.8.2} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -57,21 +59,22 @@ TMP=${TMP:-/tmp/build} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Input URL: http://qcomicbook.linux-projects.net/releases/qcomicbook-0.8.1.tar.gz SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz" -SRCURL="http://qcomicbook.linux-projects.net/releases/${PRGNAM}-${VERSION}.tar.gz" +SRCURL="http://qcomicbook.org/releases/${PRGNAM}-${VERSION}.tar.gz" ## ## --- with a little luck, you won't have to edit below this point --- ## ## # Automatically determine the architecture we're building on: +MARCH=$( uname -m ) if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) export ARCH=i486 ;; - arm*) export ARCH=arm ;; + case "$MARCH" in + i?86) export ARCH=i486 ;; + armv7hl) export ARCH=$MARCH ;; + arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: - *) export ARCH=$( uname -m ) ;; + *) export ARCH=$MARCH ;; esac fi @@ -82,6 +85,9 @@ case "$ARCH" in x86_64) SLKCFLAGS="-O2 -fPIC" SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" ;; + armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" + SLKLDFLAGS=""; LIBDIRSUFFIX="" + ;; *) SLKCFLAGS="-O2" SLKLDFLAGS=""; LIBDIRSUFFIX="" ;; -- cgit v1.2.3