diff options
author | Eric B. Pratt <eric.b.pratt@gmail.com> | 2017-03-14 01:27:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:31 +0700 |
commit | dcca120cd486566ac85b1ef77503c8952ac9a0d0 (patch) | |
tree | acc9a54349881b4a965e95966dfbd1ccdc810209 /system/vice/vice.SlackBuild | |
parent | bd1648a1e7e517feb2e6d0db5ca10050196541eb (diff) | |
download | slackbuilds-dcca120cd486566ac85b1ef77503c8952ac9a0d0.tar.gz |
system/vice: Updated for version 3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/vice/vice.SlackBuild')
-rw-r--r-- | system/vice/vice.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index 768bf720ee..5ad4476b66 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -24,13 +24,13 @@ # Initialize variables PRGNAM=vice -VERSION=${VERSION:-2.4.24} +VERSION=${VERSION:-3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -90,6 +90,11 @@ sed -i "s/\/usr\/lib\//\/usr\/lib${LIBDIRSUFFIX}\//g" doc/vice.* doc/html/*html sed -i "s/AM_CONDITIONAL(BUILD_PDF, true)/AM_CONDITIONAL(BUILD_PDF, false)/g" \ configure.ac +# Don't install fonts in $HOME and run fc-cache on the build system +sed -i -e '/@HAVE_FC_CACHE_TRUE@/d' data/fonts/Makefile.am + +autoreconf -vif + # Configure the software CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -120,7 +125,6 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Compress man pages find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -140,7 +144,7 @@ mv $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION chmod 644 * mkdir html - mv *.html *.png *.gif *.jpg *.css html/ ) + mv *.html *.png *.gif *.css html/ ) ( cd $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM ; ln -s /usr/doc/$PRGNAM-$VERSION doc ) # Copy additional program documentation |