blob: c78951e1b01c3cb3090e77461a1f49f6eed34518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: Makefile,v 1.4 2022/11/21 18:20:42 jperkin Exp $
DISTNAME= charls-2.3.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=team-charls/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/team-charls/charls/
COMMENT= Jpeg-ls codec library
LICENSE= modified-bsd
USE_CMAKE= yes
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/src/charls.version
PKGCONFIG_OVERRIDE= src/charls-template.pc
.include "../../mk/bsd.pkg.mk"
|