summaryrefslogtreecommitdiff
path: root/system/fs-uae/fs-uae.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fs-uae/fs-uae.SlackBuild')
-rw-r--r--system/fs-uae/fs-uae.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/fs-uae/fs-uae.SlackBuild b/system/fs-uae/fs-uae.SlackBuild
index 7ecdd7223c..0c738e968b 100644
--- a/system/fs-uae/fs-uae.SlackBuild
+++ b/system/fs-uae/fs-uae.SlackBuild
@@ -25,14 +25,16 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fs-uae
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,7 +73,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make CXXFLAGS="$SLKCFLAGS"
+make CXXFLAGS="$SLKCFLAGS" prefix=/usr docdir=/usr/doc/$PRGNAM-$VERSION
make install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \