|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2008-2013,2015,2016 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2008-2013,2015-2017 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-x264} |
|
|
|
|
VERSION=${VERSION:-20160702} |
|
|
|
|
VERSION=${VERSION:-20170312} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-snapshot-$VERSION-2245.tar.bz2} |
|
|
|
|
WGET=${WGET:-ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Compile |
|
|
|
|