summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPaul Wisehart <wise@lupulin.net>2010-05-13 00:31:53 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:31:53 +0200
commit4f0f3ad24ddd6d5fe6dc3d64196f58a7a932027b (patch)
treee98f67a26796d224b8cfaca366411ad6afa3afdc /libraries
parent5d141f9ecd703be240b06fed111c0f93d1f42774 (diff)
downloadslackbuilds-4f0f3ad24ddd6d5fe6dc3d64196f58a7a932027b.tar.gz
libraries/libsndfile: Updated for version 1.0.20
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libsndfile/libsndfile.SlackBuild32
-rw-r--r--libraries/libsndfile/libsndfile.info10
2 files changed, 17 insertions, 25 deletions
diff --git a/libraries/libsndfile/libsndfile.SlackBuild b/libraries/libsndfile/libsndfile.SlackBuild
index c34c015512..4ab17b1940 100644
--- a/libraries/libsndfile/libsndfile.SlackBuild
+++ b/libraries/libsndfile/libsndfile.SlackBuild
@@ -2,22 +2,10 @@
# Slackware build script for libsndfile
-# Copyright (c) 2006, 2007, 2008, Paul Wisehart paul@lupulin.net
-#
-# Permission to use, copy, modify, and/or 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.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# Written by Paul Wisehart wise@lupulin.net
PRGNAM=libsndfile
-VERSION=1.0.18
+VERSION=1.0.20
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,8 +50,13 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+make \
+ htmldocdir=/usr/doc/$PRGNAM-$VERSION/html
+
+make \
+ htmldocdir=/usr/doc/$PRGNAM-$VERSION/html \
+ DESTDIR=$PKG \
+ install
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -73,11 +66,8 @@ make install DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
-# The --htmldir switch isn't working as of version 1.0.17-18
-mv $PKG/usr/share/doc/libsndfile1-dev/html/ $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc ; rmdir $PKG/usr/share 2>/dev/null || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/man
@@ -89,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libsndfile/libsndfile.info b/libraries/libsndfile/libsndfile.info
index 3b0d0ff2e9..76cb5c332d 100644
--- a/libraries/libsndfile/libsndfile.info
+++ b/libraries/libsndfile/libsndfile.info
@@ -1,8 +1,10 @@
PRGNAM="libsndfile"
-VERSION="1.0.18"
+VERSION="1.0.20"
HOMEPAGE="http://www.mega-nerd.com/libsndfile/"
-DOWNLOAD="http://www.mega-nerd.com/libsndfile/libsndfile-1.0.18.tar.gz"
-MD5SUM="9fde6efb1b75ef38398acf856f252416"
+DOWNLOAD="http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.20.tar.gz"
+MD5SUM="e0553e12c7a467af44693e95e2eac668"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Paul Wisehart"
EMAIL="wise@lupulin.net"
-APPROVED="rworkman"
+APPROVED="pprkut"