diff options
Diffstat (limited to 'multimedia/mythplugins/mythplugins.SlackBuild')
-rw-r--r-- | multimedia/mythplugins/mythplugins.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mythplugins/mythplugins.SlackBuild b/multimedia/mythplugins/mythplugins.SlackBuild index 6a4dc387602fd..eae6aac7fa0e2 100644 --- a/multimedia/mythplugins/mythplugins.SlackBuild +++ b/multimedia/mythplugins/mythplugins.SlackBuild @@ -28,13 +28,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mythplugins -VERSION=0.27.4 +VERSION=${VERSION:-0.27.4} 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 @@ -45,8 +45,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" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -89,7 +89,6 @@ make INSTALL_ROOT="$PKG" install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Remove perllocal.pod and other special files that don't need to be installed find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |