diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2015-03-20 09:36:03 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-22 15:33:23 +0700 |
commit | 5e3fb752b09ff47fa60b66191b3155abedd2999c (patch) | |
tree | fb5d40701584554f91a616f9d53a533ff86a5a3d /audio/speex/speex.SlackBuild | |
parent | ce330b16fa56474eb7b2ee0f13214b367ce79925 (diff) | |
download | slackbuilds-5e3fb752b09ff47fa60b66191b3155abedd2999c.tar.gz |
audio/speex: Updated for version 1.2rc2.
Thanks to Ryan P.C. McQuen for the heads up
and the notice about the man pages
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/speex/speex.SlackBuild')
-rw-r--r-- | audio/speex/speex.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild index c4bc578625..1b719186d3 100644 --- a/audio/speex/speex.SlackBuild +++ b/audio/speex/speex.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for speex -# Copyright (c) 2012 Vliegendehuiskat # Copyright (c) 2007 Alex Lysenka <me@alkos333.net> +# Copyright (c) 2012 Vliegendehuiskat +# Copyright (c) 2014-2015 Matteo Bernardini <ponce@slackbuilds.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,11 +25,12 @@ # 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. + # Modified by SlackBuilds.org PRGNAM=speex -VERSION=1.2rc1 -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.2rc2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +71,7 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; @@ -87,17 +89,16 @@ CXXFLAGS="$SLKCFLAGS" \ make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 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 -) +# Man pages aren't installed by "make install" anymore... +mkdir -p $PKG/usr/man/man1 +for i in speexenc speexdec; do gzip -c9 src/$i.1 > $PKG/usr/man/man1/$i.1.gz; done cp -a \ AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chown root:root {} \; -exec chmod 644 {} \; |