pkgsrc/graphics/jpeg/Makefile
adam cff669cf45 Changes 8c:
Add option to compression library and cjpeg (-block N) to use
different DCT block size.
All N from 1 to 16 are possible.  Default is 8 (baseline format).
Larger values produce higher compression,
smaller values produce higher quality.
SmartScale capable decoder (introduced with IJG JPEG 8) required.
2011-01-21 11:28:13 +00:00

34 lines
892 B
Makefile

# $NetBSD: Makefile,v 1.44 2011/01/21 11:28:13 adam Exp $
DISTNAME= jpegsrc.v8c
PKGNAME= ${DISTNAME:S/src.v/-/}
CATEGORIES= graphics
MASTER_SITES= http://www.ijg.org/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ijg.org/
COMMENT= IJG's jpeg compression utilities
CONFLICTS= libjpeg-turbo-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-ld-version-script
INSTALLATION_DIRS= bin include share/doc/jpeg
TEST_TARGET= test
post-extract:
${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC}
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/jpeg
.include "../../mk/bsd.pkg.mk"