summaryrefslogtreecommitdiffstats
path: root/qcomicbook
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-03-24 16:42:07 +0000
committer Eric Hameleers <alien@slackware.com>2012-03-24 16:42:07 +0000
commit02ed202236a375b5bb1c5c5b35a644f17fc2e21c (patch)
tree63c40742d70e4829e237c0731b9e945849c55132 /qcomicbook
parentd2831fc39daad498022978a3fb191dabe8bfc05b (diff)
downloadasb-02ed202236a375b5bb1c5c5b35a644f17fc2e21c.tar.gz
asb-02ed202236a375b5bb1c5c5b35a644f17fc2e21c.tar.xz
Update to 0.8.2
Diffstat (limited to 'qcomicbook')
-rwxr-xr-xqcomicbook/build/qcomicbook.SlackBuild22
1 files changed, 14 insertions, 8 deletions
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 <alien@slackware.com>
# * Initial build.
+# 0.8.2-1: 24/mar/2012 by Eric Hameleers <alien@slackware.com>
+# * 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=""
;;