3d6d2aee58
1.74.4 11 Jun 17 - Converted two progs to reg tests - New version because 1.74.3 had some spurious files (xtractprotos, endianness.h) 1.74.3 9 Jun 17 - Coverity scan fixes. - Several fixes for running on Windows, including subtle one with tiff encoding depending on pad bits. - Utility and test if a page image likely has a table. - Remove use of pixCreateTemplateNoInit() where it may cause problems. - Make release 'configure-make ready'
34 lines
1,019 B
Makefile
34 lines
1,019 B
Makefile
# $NetBSD: Makefile,v 1.9 2017/06/14 14:26:24 fhajny Exp $
|
|
|
|
DISTNAME= leptonica-1.74.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=danbloomberg/}
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://www.leptonica.org/
|
|
COMMENT= Software for image processing and image analysis applications
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# The presence of fmemopen() assumes open_memstream() is also available,
|
|
# which is wrong on platforms other than Linux.
|
|
.if ${OPSYS} != "Linux"
|
|
CONFIGURE_ENV+= ac_cv_func_fmemopen=no
|
|
.endif
|
|
|
|
# Pass a SunOS that the build relies on
|
|
CPPFLAGS.SunOS+= -D__SOLARIS__=1
|
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
|
.include "../../graphics/libwebp/buildlink3.mk"
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|