mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/jpegoptim: Expand README & slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
52adb0d461
commit
91eca18200
3 changed files with 22 additions and 36 deletions
|
@ -1 +1,7 @@
|
|||
jpegoptim - utility to optimize/compress JPEG files
|
||||
jpegoptim (utility to optimize/compress JPEG files)
|
||||
|
||||
jpegoptim is used to optimize/compress jpeg files. It supports
|
||||
lossless optimization (based on optimizing the Huffman tables) and
|
||||
so called "lossy" optimization where in addition to optimizing the
|
||||
Huffman tables, the user can specify an upper limit for image quality,
|
||||
or a target file size.
|
||||
|
|
|
@ -2,28 +2,14 @@
|
|||
|
||||
# Slackware build script for jpegoptim
|
||||
|
||||
# Originally written by:
|
||||
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
|
||||
# Originally written Ryan P.C. McQuen.
|
||||
# Now maintained by B. Watson <yalhcru@gmail.com>.
|
||||
|
||||
# Now maintained by B. Watson (yalhcru@gmail.com)
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version, with the following exception:
|
||||
# the text of the GPL license may be omitted.
|
||||
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# without any warranty; without even the implied warranty of
|
||||
# merchantability or fitness for a particular purpose. Compiling,
|
||||
# interpreting, executing or merely reading the text of the program
|
||||
# may result in lapses of consciousness and/or very being, up to and
|
||||
# including the end of all existence and the Universe as we know it.
|
||||
# See the GNU General Public License for more details.
|
||||
|
||||
# You may have received a copy of the GNU General Public License along
|
||||
# with this program (most likely, a file named COPYING). If not, see
|
||||
# <https://www.gnu.org/licenses/>.
|
||||
# 20210909 bkw: BUILD=2
|
||||
# - relicense as WTFPL, with permission from original author.
|
||||
# - expand README and slack-desc.
|
||||
|
||||
# 20180612 bkw: update for v1.4.6.
|
||||
|
||||
|
@ -36,7 +22,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=jpegoptim
|
||||
VERSION=${VERSION:-1.4.6}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -48,9 +34,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -83,11 +66,8 @@ rm -rf $PRGNAM-RELEASE.$VERSION
|
|||
tar xvf $CWD/$PRGNAM-RELEASE.$VERSION.tar.gz
|
||||
cd $PRGNAM-RELEASE.$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
jpegoptim: jpegoptim (optimize/compress JPEGs)
|
||||
jpegoptim: jpegoptim (utility to optimize/compress JPEG files)
|
||||
jpegoptim:
|
||||
jpegoptim: jpegoptim is a JPEG optimizer/compressor
|
||||
jpegoptim: jpegoptim is used to optimize/compress jpeg files. It supports
|
||||
jpegoptim: lossless optimization (based on optimizing the Huffman tables) and
|
||||
jpegoptim: so called "lossy" optimization where in addition to optimizing the
|
||||
jpegoptim: Huffman tables, the user can specify an upper limit for image quality,
|
||||
jpegoptim: or a target file size.
|
||||
jpegoptim:
|
||||
jpegoptim:
|
||||
jpegoptim:
|
||||
jpegoptim:
|
||||
jpegoptim: https://github.com/tjko/jpegoptim
|
||||
jpegoptim:
|
||||
jpegoptim:
|
||||
jpegoptim:
|
||||
|
|
Loading…
Reference in a new issue