aboutsummaryrefslogtreecommitdiff
path: root/misc/pinfo
diff options
context:
space:
mode:
authorArun Prasannan <polar@arunprasannan.com>2010-05-13 00:34:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:34:28 +0200
commit1ec4f4a5461aca4cca38b6a5ed43197bb4659289 (patch)
tree3b03bb8823d180560d4d7e11f77ba3438e395638 /misc/pinfo
parent1a8efa5836f3cee78e06ba3a4a40b68721b9e708 (diff)
misc/pinfo: Updated for version 0.6.9
Diffstat (limited to 'misc/pinfo')
-rw-r--r--misc/pinfo/pinfo.SlackBuild12
-rw-r--r--misc/pinfo/pinfo.info2
2 files changed, 12 insertions, 2 deletions
diff --git a/misc/pinfo/pinfo.SlackBuild b/misc/pinfo/pinfo.SlackBuild
index 0585c2fe5086c..1788743407c7e 100644
--- a/misc/pinfo/pinfo.SlackBuild
+++ b/misc/pinfo/pinfo.SlackBuild
@@ -35,8 +35,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
@@ -58,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
@@ -75,7 +81,9 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TECHSTUFF $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING INSTALL NEWS README TECHSTUFF \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -83,4 +91,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/misc/pinfo/pinfo.info b/misc/pinfo/pinfo.info
index a85bae9172266..92e92cba1622d 100644
--- a/misc/pinfo/pinfo.info
+++ b/misc/pinfo/pinfo.info
@@ -3,6 +3,8 @@ VERSION="0.6.9"
HOMEPAGE="http://pinfo.alioth.debian.org/"
DOWNLOAD="https://alioth.debian.org/frs/download.php/1498/pinfo-0.6.9.tar.bz2"
MD5SUM="e0c788467945f5f97fbacad55863e5b8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Arun Prasannan"
EMAIL="polar@arunprasannan.com"
APPROVED="rworkman"