aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpegoptim
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-01-02 21:18:09 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-04 00:41:15 +0700
commit292a5d0662c08e0394020258a5bbec1b5fada789 (patch)
tree089a188cbdb356fba7dfb56d24352e4eac65f397 /graphics/jpegoptim
parent95964f9bffa64c7532b15eb24b765f3e86540893 (diff)
graphics/jpegoptim: Updated for version 1.4.2.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'graphics/jpegoptim')
-rw-r--r--graphics/jpegoptim/jpegoptim.SlackBuild13
-rw-r--r--graphics/jpegoptim/jpegoptim.info6
2 files changed, 12 insertions, 7 deletions
diff --git a/graphics/jpegoptim/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild
index 7edb34b2137e8..80eaa132e2c79 100644
--- a/graphics/jpegoptim/jpegoptim.SlackBuild
+++ b/graphics/jpegoptim/jpegoptim.SlackBuild
@@ -22,7 +22,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=jpegoptim
-VERSION=${VERSION:-1.4.1}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,8 +58,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-RELEASE.$VERSION.tar.gz || tar xvf $CWD/RELEASE.$VERSION.tar.gz
+rm -rf $PRGNAM-RELEASE.$VERSION
+if [ -e $CWD/RELEASE.$VERSION.tar.gz ]; then
+ tar xvf $CWD/RELEASE.$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-RELEASE.$VERSION.tar.gz
+fi
cd $PRGNAM-RELEASE.$VERSION
chown -R root:root .
find -L . \
@@ -69,7 +73,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --disable-static
make
make strip
make install DESTDIR=$PKG
diff --git a/graphics/jpegoptim/jpegoptim.info b/graphics/jpegoptim/jpegoptim.info
index 623aaef3b99b6..0b6bef574b181 100644
--- a/graphics/jpegoptim/jpegoptim.info
+++ b/graphics/jpegoptim/jpegoptim.info
@@ -1,8 +1,8 @@
PRGNAM="jpegoptim"
-VERSION="1.4.1"
+VERSION="1.4.2"
HOMEPAGE="https://github.com/tjko/jpegoptim"
-DOWNLOAD="https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.1.tar.gz"
-MD5SUM="0f76c9b3a60c4898eb947b8ea1b536b3"
+DOWNLOAD="https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.2.tar.gz"
+MD5SUM="0654dff2721931a73459641f15ae1572"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""