diff options
Diffstat (limited to 'source/l/libgpod')
-rwxr-xr-x | source/l/libgpod/libgpod.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/l/libgpod/libgpod.SlackBuild b/source/l/libgpod/libgpod.SlackBuild index f4075495..7aec91fe 100755 --- a/source/l/libgpod/libgpod.SlackBuild +++ b/source/l/libgpod/libgpod.SlackBuild @@ -23,12 +23,12 @@ PKGNAM=libgpod VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -43,8 +43,8 @@ PKG=$TMP/package-${PKGNAM} rm -rf $PKG mkdir -p $TMP $PKG -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" @@ -78,7 +78,7 @@ CFLAGS="$SLKCFLAGS" \ --disable-static \ --without-hal \ --enable-udev \ - --with-temp-mount-dir=/var/run/libgpod/ \ + --with-temp-mount-dir=/run/libgpod/ \ --build=$ARCH-slackware-linux # Build and install: |