diff options
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 .. |