2020-06-17 19:15:53 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.24 2020/06/17 17:15:53 nia Exp $
|
2005-06-22 23:11:38 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= libzip
|
2005-06-22 23:11:38 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(LIBZIP_BUILDLINK3_MK)
|
|
|
|
LIBZIP_BUILDLINK3_MK:=
|
2005-06-22 23:11:38 +02:00
|
|
|
|
2020-06-15 00:18:54 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libzip+= libzip>=1.3.1
|
2020-05-22 12:55:42 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.libzip+= libzip>=1.6.1nb2
|
2005-06-22 23:11:38 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.libzip?= ../../archivers/libzip
|
|
|
|
|
2020-06-15 00:18:54 +02:00
|
|
|
BUILDLINK_FILES.libzip+= bin/zipcmp
|
2020-06-17 19:15:53 +02:00
|
|
|
BUILDLINK_FILES.libzip+= bin/zipmerge
|
|
|
|
BUILDLINK_FILES.libzip+= bin/ziptool
|
2011-03-22 16:46:08 +01:00
|
|
|
|
2017-09-02 18:27:11 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2005-06-22 23:11:38 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2018-03-12 12:15:24 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
pkgbase := libzip
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
|
2020-06-05 12:44:48 +02:00
|
|
|
.if ${PKG_BUILD_OPTIONS.libzip:Mgnutls}
|
2018-03-12 12:15:24 +01:00
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
|
|
.endif
|
2020-06-05 12:44:48 +02:00
|
|
|
.if ${PKG_BUILD_OPTIONS.libzip:Mopenssl}
|
2018-03-12 12:15:24 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.endif
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # LIBZIP_BUILDLINK3_MK
|
2005-06-22 23:11:38 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -libzip
|