Files
haikuports/media-gfx/jpegoptim/jpegoptim-1.4.6.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

45 lines
898 B
Bash

SUMMARY="A JPEG optimizer, making JPEG files smaller"
DESCRIPTION="Jpegoptim is a utility to optimize jpeg files. Provides lossless \
optimization (based on optimizing the Huffman tables) and \"lossy\" \
optimization based on setting maximum quality factor."
HOMEPAGE="https://www.kokkonen.net/tjko/projects.html"
COPYRIGHT="1996-2016 Timo Kokkonen"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://www.kokkonen.net/tjko/src/jpegoptim-$portVersion.tar.gz"
CHECKSUM_SHA256="88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7"
PATCHES="jpegoptim-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
jpegoptim = $portVersion
cmd:jpegoptim = $portVersion
"
REQUIRES="
haiku
lib:libjpeg
"
BUILD_REQUIRES="
haiku_devel
devel:libjpeg
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
"
BUILD()
{
runConfigure ./configure
make
make strip
}
INSTALL()
{
make install
}