mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/libosip2: Updated for version 3.5.0 + new maintainer
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
429da75853
commit
f86f01a0a9
3 changed files with 14 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue