summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGuillermo Bonvehi <gbonvehi@gmail.com>2010-05-13 00:41:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:23 +0200
commit43a0944f0e0d7b377cb3c31ff173f0fed91f1c7b (patch)
treeb1060ed5eacbcc97481d1da5f0dc68800c64f7ac /system
parentb06596e32dc967c33086cabb770a44a2491ea55c (diff)
downloadslackbuilds-43a0944f0e0d7b377cb3c31ff173f0fed91f1c7b.tar.gz
system/pmount: Updated for version 0.9.19
Diffstat (limited to 'system')
-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 d2233e596f..c3c7a97584 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 98ab278030..4d0a33126f 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"