pkgsrc/graphics/lepton/Makefile
agc f39fd1984a Build uses pthread - include right makefile fragment
Attempt to pre-empt joerg and specify c++11 as the base if clang is used
as the compiler.
2016-07-19 06:04:30 +00:00

34 lines
815 B
Makefile

# $NetBSD: Makefile,v 1.2 2016/07/19 06:04:30 agc Exp $
DISTNAME= lepton-1.2.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=dropbox/}
GITHUB_TAG= 911d79a560c303a2a62e5412117d0a4ccb41836d
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/dropbox/lepton/
COMMENT= Lossless compression/decompression for JPEG images
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
USE_TOOLS+= autoconf autoreconf automake gmake makeinfo
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11
.endif
AUTO_MKDIRS= yes
pre-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} sh ./autogen.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lepton ${DESTDIR}${PREFIX}/bin
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"