From f86f01a0a90078203a04212b7829db4941da67cf Mon Sep 17 00:00:00 2001 From: Eugene Wissner Date: Sun, 15 May 2011 00:11:32 -0300 Subject: [PATCH] libraries/libosip2: Updated for version 3.5.0 + new maintainer Signed-off-by: Niels Horn --- libraries/libosip2/libosip2.SlackBuild | 16 +++++++--------- libraries/libosip2/libosip2.info | 12 ++++++------ libraries/libosip2/slack-desc | 2 +- 3 files changed, 14 insertions(+), 16 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 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 diff --git a/libraries/libosip2/libosip2.info b/libraries/libosip2/libosip2.info index 54ce000342..ee41dd0d2d 100644 --- a/libraries/libosip2/libosip2.info +++ b/libraries/libosip2/libosip2.info @@ -1,10 +1,10 @@ PRGNAM="libosip2" -VERSION="3.2.0" +VERSION="3.5.0" HOMEPAGE="http://www.gnu.org/software/osip/" -DOWNLOAD="http://ftp.gnu.org/gnu/osip/libosip2-3.2.0.tar.gz" -MD5SUM="459c21f11066be46fe6ea24de438bd40" +DOWNLOAD="http://ftp.gnu.org/gnu/osip/libosip2-3.5.0.tar.gz" +MD5SUM="7691546f6b3349d10007fc1aaff0f4e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="adev" -EMAIL="adev@linuxmail.org" -APPROVED="dsomero" +MAINTAINER="Eugene Wissner" +EMAIL="eugen@flevum.de" +APPROVED="dsomero,Niels Horn" diff --git a/libraries/libosip2/slack-desc b/libraries/libosip2/slack-desc index 2ebbb137f6..a3ee262d55 100644 --- a/libraries/libosip2/slack-desc +++ b/libraries/libosip2/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler----------------------------------------------------| + |-----handy-ruler------------------------------------------------------| libosip2: libosip2 (The GNU oSIP library) libosip2: libosip2: oSIP is an implementation of SIP. This library aims to provide