File:  [cvs.NetBSD.org] / pkgsrc / databases / galera / Makefile
Revision 1.4: download - view: text, annotated - select for diffs
Sat Oct 14 17:33:50 2023 UTC (12 months, 3 weeks ago) by he
Branches: MAIN
CVS tags: HEAD
databases/galera: add mk/atomic64.mk for the benefit of ports needing that.

# $NetBSD: Makefile,v 1.4 2023/10/14 17:33:50 he Exp $

DISTNAME=	galera-26.4.13
PKGREVISION=	2
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_GITHUB:=codership/}
GITHUB_TAG=	release_${PKGVERSION_NOREV}
DISTFILES=	${DEFAULT_DISTFILES} 694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz
SITES.694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz=	https://github.com/codership/wsrep-API/archive/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/codership/galera/
COMMENT=	Synchronous multi-master replication library
# GPL with openssl exception to allow linking against openssl
LICENSE=	gnu-gpl-v2 AND boost-license

WRKSRC=		${WRKDIR}/galera-release_26.4.13
USE_CMAKE=	yes
USE_LANGUAGES=	c c++

CHECK_PORTABILITY_SKIP+=	scripts/mysql/centos/mysqld_safe
CHECK_PORTABILITY_SKIP+=	scripts/mysql/debian/mysqld_safe-5.5

BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}

post-extract:
	cd ${WRKDIR}/wsrep-* && ${MV} * ${WRKSRC}/wsrep/src/

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/check/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>