diff options
author | Eric Hameleers <alien@slackware.com> | 2014-01-08 20:26:07 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-01-08 20:26:07 +0000 |
commit | f5a6405e187db79d1ae4743cb9d0b76216799bb9 (patch) | |
tree | d35bfe27aa5faafaabff58e88de54e66909dd1ee /OpenAL | |
parent | 47cf8f52682153344479d48dab2cf1f014bcfa3d (diff) | |
download | asb-f5a6405e187db79d1ae4743cb9d0b76216799bb9.tar.gz asb-f5a6405e187db79d1ae4743cb9d0b76216799bb9.tar.xz |
Add a alsoft.conf.sample file
Diffstat (limited to 'OpenAL')
-rwxr-xr-x | OpenAL/build/OpenAL.SlackBuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenAL/build/OpenAL.SlackBuild b/OpenAL/build/OpenAL.SlackBuild index 418e29c0..59d60f86 100755 --- a/OpenAL/build/OpenAL.SlackBuild +++ b/OpenAL/build/OpenAL.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2012, 2013 Eric Hameleers, Eindhoven, NL +# Copyright 2012, 2013, 2014 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -34,6 +34,8 @@ # * Initial build. # 1.15.1-1: 03/nov/2013 by Eric Hameleers <alien@slackware.com> # * Update. +# 1.15.1-2: 08/jan/2014 by Eric Hameleers <alien@slackware.com> +# * Add /etc/openal/alsoft.conf.sample configuration file. # # Run 'sh OpenAL.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -44,7 +46,7 @@ PRGNAM=OpenAL SRCNAM=openal-soft VERSION=${VERSION:-1.15.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -71,6 +73,7 @@ if [ -z "$ARCH" ]; then case "$MARCH" in i?86) export ARCH=i486 ;; armv7hl) export ARCH=$MARCH ;; + armv6hl) export ARCH=$MARCH ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$MARCH ;; @@ -87,6 +90,9 @@ case "$ARCH" in armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" SLKLDFLAGS=""; LIBDIRSUFFIX="" ;; + armv6hl) SLKCFLAGS="-O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard" + SLKLDFLAGS=""; LIBDIRSUFFIX="" + ;; *) SLKCFLAGS="-O2" SLKLDFLAGS=""; LIBDIRSUFFIX="" ;; @@ -170,6 +176,10 @@ cd build make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log cd - +# Add an example configuration file: +mkdir -p $PKG/etc/openal +install -m0644 alsoftrc.sample $PKG/etc/openal/alsoft.conf.sample + # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true |