multimedia/gpac: Build bump, script cleanup.

This commit is contained in:
Nishant Limbachia 2010-04-24 03:54:52 -05:00 committed by Erik Hanson
parent eff8523e17
commit ae9dc301ed
2 changed files with 6 additions and 8 deletions

View File

@ -6,5 +6,5 @@ Dependencies:
REQUIRED: ffmpeg xvidcore faad2 a52dec
OPTIONAL: wxGTK
wxGTK is disabled by default, can be turned on by running
WX_SUPPORT=yes ./gpac.SlackBuild
wxGTK is disabled by default, can be turned on by passing
WX_SUPPORT=yes to the script

View File

@ -3,7 +3,7 @@
# Slackware Package Build Script for gpac
# Home Page http://gpac.sourceforge.net/
# Copyright (c) 2007-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net)
# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@
PRGNAM=gpac
VERSION=0.4.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
TMP=${TMP:-/tmp/SBo}
@ -95,10 +95,8 @@ cp -a AUTHORS COPYING BUGS Changelog INSTALLME \
README TODO doc/configuration.html $PKG/usr/doc/$PRGNAM-$VERSION
### strip binaries
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# find and compress man pages
( cd $PKG/usr/man