mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
jpegoptim: new recipe (#888)
This commit is contained in:
committed by
Jérôme Duval
parent
bf166c04be
commit
76bd428c90
43
media-gfx/jpegoptim/jpegoptim-1.4.4.recipe
Normal file
43
media-gfx/jpegoptim/jpegoptim-1.4.4.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
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="http://www.kokkonen.net/tjko/projects.html"
|
||||
COPYRIGHT="1996-2016 Timo Kokkonen"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.kokkonen.net/tjko/src/jpegoptim-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="89a03ea2dfe9483dfb2e009a2851be0befb0deb7cb45c04550bcc91e1e88c1b2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
jpegoptim = $portVersion
|
||||
cmd:jpegoptim = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libjpeg
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libjpeg
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
make strip
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user