diff options
Diffstat (limited to 'libraries/ffms2/ffms2.SlackBuild')
-rw-r--r-- | libraries/ffms2/ffms2.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/ffms2/ffms2.SlackBuild b/libraries/ffms2/ffms2.SlackBuild index 245c2aa578..672dba18d3 100644 --- a/libraries/ffms2/ffms2.SlackBuild +++ b/libraries/ffms2/ffms2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ffms2 -VERSION=${VERSION:-2.23} +VERSION=${VERSION:-2.40} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,7 +64,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./configure \ +./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -75,6 +75,8 @@ find -L . \ make make install DESTDIR=$PKG +rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la + 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 |