From bd598cb15f7bbaff0b17dcc2f8859e245b8d8e58 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Wed, 3 May 2017 14:22:27 -0400 Subject: graphics/mozjpeg: Updated for version 3.2. Signed-off-by: B. Watson --- graphics/mozjpeg/README | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'graphics/mozjpeg/README') diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README index 7853d2ec80..00b151318f 100644 --- a/graphics/mozjpeg/README +++ b/graphics/mozjpeg/README @@ -28,8 +28,13 @@ export PATH=/opt/mozjpeg/bin:$PATH export MANPATH=/opt/mozjpeg/man:$MANPATH To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include -and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or else --Wl,-rpath,/opt/mozjpeg/lib (or lib64). +and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or +else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2, +there's also pkg-config support for mozjpeg. In ~/.bash_profile: + +export PKG_CONFIG_PATH=/opt/mozjpeg/lib64/pkgconfig:$PKG_CONFIG_PATH + +(chage lib64 to lib, for 32-bit Slackware) If you built with JAVA=yes, the java library will be installed as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in -- cgit v1.2.3