diff options
Diffstat (limited to 'libraries/libsndfile/libsndfile.SlackBuild')
-rw-r--r-- | libraries/libsndfile/libsndfile.SlackBuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/libraries/libsndfile/libsndfile.SlackBuild b/libraries/libsndfile/libsndfile.SlackBuild index c34c015512f80..4ab17b19407a7 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} |