aboutsummaryrefslogtreecommitdiff
path: root/system/pmount
diff options
context:
space:
mode:
Diffstat (limited to 'system/pmount')
-rw-r--r--system/pmount/pmount.SlackBuild6
-rw-r--r--system/pmount/pmount.info2
2 files changed, 7 insertions, 1 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild
index d2233e596f2b8..c3c7a97584fa2 100644
--- a/system/pmount/pmount.SlackBuild
+++ b/system/pmount/pmount.SlackBuild
@@ -38,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -59,6 +62,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -100,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/pmount/pmount.info b/system/pmount/pmount.info
index 98ab278030449..4d0a33126f76b 100644
--- a/system/pmount/pmount.info
+++ b/system/pmount/pmount.info
@@ -3,6 +3,8 @@ VERSION="0.9.19"
HOMEPAGE="http://pmount.alioth.debian.org/"
DOWNLOAD="http://alioth.debian.org/frs/download.php/2867/pmount-0.9.19.tar.gz"
MD5SUM="2fd9fe103375dbd0c91af2f302250a8c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Guillermo Bonvehi"
EMAIL="gbonvehi@gmail.com"
APPROVED="rworkman"