mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/HandBrake: Strip ghb binary.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
85b88fada3
commit
4a14e88342
1 changed files with 3 additions and 6 deletions
|
@ -11,7 +11,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=HandBrake
|
||||
VERSION=${VERSION:-1.5.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
DOCDIR=${DOCDIR:-/usr/doc}
|
||||
|
@ -48,8 +48,6 @@ else
|
|||
fi
|
||||
|
||||
SLKCFLAGS="$SLKCFLAGS -fno-aggressive-loop-optimizations"
|
||||
saved_CFLAGS="$CFLAGS"
|
||||
saved_CXXFLAGS="$CFLAGS"
|
||||
export CFLAGS="$SLKCFLAGS"
|
||||
export CXXFLAGS="$SLKCFLAGS"
|
||||
|
||||
|
@ -94,10 +92,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
cd build
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
strip $PKG/usr/bin/*
|
||||
|
||||
export CFLAGS="$saved_CFLAGS"
|
||||
export CXXFLAGS="$saved_CXXFLAGS"
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
|
||||
mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS.markdown COPYING NEWS.markdown THANKS.markdown README.markdown \
|
||||
|
|
Loading…
Reference in a new issue