aboutsummaryrefslogtreecommitdiff
path: root/libraries/libosip2
diff options
context:
space:
mode:
authoradev <adev@linuxmail.org>2010-05-13 00:31:33 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:31:33 +0200
commit83e91246a4b48af854695202e1b9a4b29558c28f (patch)
tree80a650593aefdb409f3ca912adc02c0dd846927c /libraries/libosip2
parent1cf67f9f3db9e7247f08bdf6359c341449089f38 (diff)
libraries/libosip2: Updated for version 3.2.0
Diffstat (limited to 'libraries/libosip2')
-rw-r--r--libraries/libosip2/libosip2.SlackBuild11
-rw-r--r--libraries/libosip2/libosip2.info2
2 files changed, 10 insertions, 3 deletions
diff --git a/libraries/libosip2/libosip2.SlackBuild b/libraries/libosip2/libosip2.SlackBuild
index de45f9d7356d..dfc4529847c5 100644
--- a/libraries/libosip2/libosip2.SlackBuild
+++ b/libraries/libosip2/libosip2.SlackBuild
@@ -13,12 +13,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+DOCS="AUTHORS BUGS COPYING ChangeLog FEATURES HISTORY \
+ INSTALL NEWS README TODO $CWD/$PRGNAM.SlackBuild"
+
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
@@ -38,6 +44,7 @@ find . \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--enable-gperf \
@@ -54,8 +61,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-DOCS="AUTHORS BUGS COPYING ChangeLog FEATURES HISTORY \
- INSTALL NEWS README TODO $CWD/$PRGNAM.SlackBuild"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc
@@ -65,4 +70,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/libraries/libosip2/libosip2.info b/libraries/libosip2/libosip2.info
index a902a79bbd80..984c74705f5f 100644
--- a/libraries/libosip2/libosip2.info
+++ b/libraries/libosip2/libosip2.info
@@ -2,7 +2,9 @@ PRGNAM="libosip2"
VERSION="3.2.0"
HOMEPAGE="http://www.gnu.org/software/osip/"
DOWNLOAD="http://ftp.gnu.org/gnu/osip/libosip2-3.2.0.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="459c21f11066be46fe6ea24de438bd40"
+MD5SUM_x86_64=""
MAINTAINER="adev"
EMAIL="adev@linuxmail.org"
APPROVED="dsomero"