pkgsrc/graphics/libjpeg-turbo/Makefile
drochner 4b7223a86c Since this is thought to be a plug-in replacement for pkgsrc/jpeg,
it should provide the jpeg-8 API/ABI rather than the -6b one.
So switch to 1.1.0 with the jpeg8 "configure" option.
Tested to be binary compatible on i386, at least for simple
image viewers.
being here, add "test" target
2012-01-13 20:15:33 +00:00

27 lines
671 B
Makefile

# $NetBSD: Makefile,v 1.4 2012/01/13 20:15:33 drochner Exp $
#
DISTNAME= libjpeg-turbo-1.1.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://libjpeg-turbo.virtualgl.org/
COMMENT= libjpeg accelerated with MMX, SSE and SSE2 SIMD instructions
LICENSE= gnu-lgpl-v2 # OR wxWindows Library Licence, Version 3.1
CONFLICTS= jpeg-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
GNU_CONFIGURE= yes
# compatibility with pkgsrc/graphics/jpeg
CONFIGURE_ARGS+= --with-jpeg8
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"