pkgsrc/net/libfilezilla/Makefile
2021-12-08 16:01:42 +00:00

35 lines
959 B
Makefile

# $NetBSD: Makefile,v 1.39 2021/12/08 16:06:02 adam Exp $
DISTNAME= libfilezilla-0.31.1
PKGREVISION= 2
CATEGORIES= net
# some kind of direct-download disabling
#MASTER_SITES= https://dl3.cdn.filezilla-project.org/libfilezilla/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://lib.filezilla-project.org/
COMMENT= Library for building high-performing, platform-independent programs
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake msgfmt pkg-config
USE_LANGUAGES= c c++17
PKGCONFIG_OVERRIDE+= lib/libfilezilla.pc.in
# for C++17
GCC_REQD+= 8
# As of 0.19, 64-bit atomic ops are required
.if ${MACHINE_ARCH} == "i386"
CXXFLAGS+= -march=i586
.endif
BUILDLINK_API_DEPENDS.nettle+= nettle>=3.1
.include "../../security/nettle/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=3.5.7
.include "../../security/gnutls/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"