libraries/frei0r: Updated build with bash 4 fixes.

This commit is contained in:
Jonathan Larsen 2010-04-08 18:22:52 -04:00 committed by David Somero
parent d013b34d23
commit e21fe6b59e
3 changed files with 15 additions and 10 deletions

View file

@ -2,3 +2,5 @@ Frei0r is a minimalistic plugin API for video sources and filters. The
behaviour of the effects can be controlled from the host by simple parameters. behaviour of the effects can be controlled from the host by simple parameters.
The intent is to solve the recurring reimplementation or adaptation issue of The intent is to solve the recurring reimplementation or adaptation issue of
standard effects. standard effects.
MD5 may be different since there is only a daily snapshot provided

View file

@ -21,10 +21,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Change Log
#
# Mar 3rd, 2010
# *Revised to build "2" - fixed the "strip" for bash 4
# *compatability and removed the man page section
#
PRGNAM=frei0r PRGNAM=frei0r
VERSION=20100124 VERSION=20100124
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
@ -77,16 +84,13 @@ make install DESTDIR=$PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null 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
) )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog Doxyfile INSTALL NEWS README \ cd $TMP/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog Doxyfile INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -7,5 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Jonathan Larsen" MAINTAINER="Jonathan Larsen"
EMAIL="agentc0re@learnix.net" EMAIL="agentc0re@learnix.net"
APPROVED="michiel" APPROVED="dsomero"