diff options
author | Euan Thoms <euan at potensol dot com> | 2017-11-17 21:51:45 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:35 +0700 |
commit | 7dd715f83751ad631c44da52007eefab47ba0bf0 (patch) | |
tree | d6364ff1cc4a9a4650fd1656c6955ab07eb6ee9c /libraries/bzrtp/bzrtp.SlackBuild | |
parent | 2553bf2098d12ab05141f52aed6d15cd2d8c0645 (diff) |
libraries/bzrtp: Updated for version 1.0.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/bzrtp/bzrtp.SlackBuild')
-rw-r--r-- | libraries/bzrtp/bzrtp.SlackBuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/libraries/bzrtp/bzrtp.SlackBuild b/libraries/bzrtp/bzrtp.SlackBuild index 4a5ca9543375..e537af272714 100644 --- a/libraries/bzrtp/bzrtp.SlackBuild +++ b/libraries/bzrtp/bzrtp.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bzrtp -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.0.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog README.md NEWS $CWD/$PRGNAM.SlackBuild" + set -e rm -rf $PKG @@ -69,6 +71,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ @@ -79,6 +82,10 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-strict \ + --disable-static \ + --enable-shared \ + --disable-tests \ --build=$ARCH-slackware-linux make @@ -88,6 +95,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -95,4 +105,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - |