diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-26 11:47:11 +1300 |
---|---|---|
committer | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-26 11:47:11 +1300 |
commit | 1d2f62e100029a99c8b3e8b7c246cc8929ddc670 (patch) | |
tree | f127ffc71bcdf524618c49eed0f564d35180b332 /games | |
parent | e0201e1c6fdb53f99ca6781f78ce55fbf11dbd7b (diff) |
games/bluez-sixaxis: Remove .la files.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/bluez-sixaxis/bluez-sixaxis.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild b/games/bluez-sixaxis/bluez-sixaxis.SlackBuild index 7e3d24b605279..2175761999347 100644 --- a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild +++ b/games/bluez-sixaxis/bluez-sixaxis.SlackBuild @@ -10,7 +10,7 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bluez-sixaxis SRCNAM=bluez VERSION=${VERSION:-5.58} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,6 +53,9 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -117,6 +120,8 @@ LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \ make make install DESTDIR=$PKG +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + # Remove everything except the sixaxis plugin rm -rf $PKG/etc rm -rf $PKG/lib |