diff options
Diffstat (limited to 'libraries/libosip2/libosip2.SlackBuild')
-rw-r--r-- | libraries/libosip2/libosip2.SlackBuild | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/libraries/libosip2/libosip2.SlackBuild b/libraries/libosip2/libosip2.SlackBuild index 56c7d9e96adb5..0861b980e03d8 100644 --- a/libraries/libosip2/libosip2.SlackBuild +++ b/libraries/libosip2/libosip2.SlackBuild @@ -1,10 +1,26 @@ #!/bin/bash # Slackware build script for libosip2 -# Copyright (c) 2011 Eugene Wissner <eugen@flevum.de> +# Copyright (c) 2011-2012 Eugene Wissner <belka.ew@gmail.com> +# All rights reserved. +# +# Permission to use, copy, modify, and distribute this software for any purpose +# with or without fee is hereby granted, provided that the above copyright +# notice and this permission notice appear in all copies. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libosip2 -VERSION=${VERSION:-3.5.0} +VERSION=${VERSION:-3.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -21,9 +37,6 @@ 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="" @@ -38,6 +51,9 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS BUGS COPYING ChangeLog FEATURES HISTORY \ + INSTALL NEWS README TODO $CWD/$PRGNAM.SlackBuild" + set -e rm -rf $PKG @@ -72,7 +88,7 @@ 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 +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION chown -R root:root $PKG/usr/doc chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* |