diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2020-05-30 01:15:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-01 08:46:32 +0700 |
commit | 38dee70ccd621e9a078a4cb4f0e3847703f694f5 (patch) | |
tree | 8f784c78c803d44ec332ec97de1f3d9ee115b555 /multimedia/aom/aom.SlackBuild | |
parent | 3039395eece662a74ff7ef2c817541eec149489c (diff) |
multimedia/aom: Updated for version 2.0.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/aom/aom.SlackBuild')
-rw-r--r-- | multimedia/aom/aom.SlackBuild | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/multimedia/aom/aom.SlackBuild b/multimedia/aom/aom.SlackBuild index 422dbebe7f597..f0c6dfdd4aabd 100644 --- a/multimedia/aom/aom.SlackBuild +++ b/multimedia/aom/aom.SlackBuild @@ -25,9 +25,8 @@ PRGNAM=aom -# Git repository was tagged for release 2.0.0 but the downloadable archive -# has the git commit in the filename, some adjustments therefore required -# for a sane Slackware build: +# The 'official' archive for the aom 2.0.0 release has the git commit in +# the filename, so adjustments are required for a sane Slackware build: VERSION=${VERSION:-2.0.0} GITCOMMIT=${GITCOMMIT:-bb35ba9148543f22ba7d8642e4fbd29ae301f5dc} BUILD=${BUILD:-1} @@ -63,20 +62,11 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-$VERSION +mkdir -p $TMP $PKG $OUTPUT cd $TMP - -# Browser download and wget download will have a different filename. -# Note as well the need to specify a suitable output folder name, -# otherwise the extracted aom files are simply scattered across $TMP: - -rm -rf $PRGNAM -if [ -e $CWD/$PRGNAM-$GITCOMMIT.tar.gz ]; then - tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION -else - tar xvf $CWD/$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION -fi - +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$GITCOMMIT.tar.gz -C $TMP/$PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -105,7 +95,7 @@ cd build -DENABLE_DOCS=OFF \ -DBUILD_SHARED_LIBS=ON \ ../ - make + make -j1 make install DESTDIR=$PKG cd .. |