summaryrefslogtreecommitdiffstats
path: root/libraries/libosip2/libosip2.SlackBuild
diff options
context:
space:
mode:
author Eugene Wissner2011-05-15 05:11:32 +0200
committer Robby Workman2011-05-17 16:56:18 +0200
commitf86f01a0a90078203a04212b7829db4941da67cf (patch)
treedbc30e119192bc67a28eca20eb3b6611de96719d /libraries/libosip2/libosip2.SlackBuild
parent429da758530b2523b2f92dbec074eb5de7291535 (diff)
downloadslackbuilds-f86f01a0a90078203a04212b7829db4941da67cf.tar.gz
libraries/libosip2: Updated for version 3.5.0 + new maintainer
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/libosip2/libosip2.SlackBuild')
-rw-r--r--libraries/libosip2/libosip2.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/libraries/libosip2/libosip2.SlackBuild b/libraries/libosip2/libosip2.SlackBuild
index d21b0fa679..56c7d9e96a 100644
--- a/libraries/libosip2/libosip2.SlackBuild
+++ b/libraries/libosip2/libosip2.SlackBuild
@@ -1,18 +1,17 @@
#!/bin/bash
# Slackware build script for libosip2
+# Copyright (c) 2011 Eugene Wissner <eugen@flevum.de>
PRGNAM=libosip2
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -54,24 +53,23 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
- --enable-gperf \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make DESTDIR=$PKG install
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION