Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2024 04:07:10 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a10974161868 - main - devel/aws-crt-ffi: Add aws-crt-ffi 0.3.8
Message-ID:  <202406180407.45I47AFr074891@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a1097416186823287c6cbd3a0796a791f3531c63

commit a1097416186823287c6cbd3a0796a791f3531c63
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 03:53:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 03:53:52 +0000

    devel/aws-crt-ffi: Add aws-crt-ffi 0.3.8
    
    AWS CRT FFI provides Foreign function interface (FFI) for the AWS Common Runtime
    (CRT) libraries.
---
 devel/Makefile              |  1 +
 devel/aws-crt-ffi/Makefile  | 37 +++++++++++++++++++++++++++++++++++++
 devel/aws-crt-ffi/distinfo  |  3 +++
 devel/aws-crt-ffi/pkg-descr |  2 ++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1c72d965d34e..17074288a397 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -270,6 +270,7 @@
     SUBDIR += aws-c-sdkutils
     SUBDIR += aws-checksums
     SUBDIR += aws-crt-cpp
+    SUBDIR += aws-crt-ffi
     SUBDIR += aws-sdk-cpp
     SUBDIR += aws-sdk-php
     SUBDIR += axmldec
diff --git a/devel/aws-crt-ffi/Makefile b/devel/aws-crt-ffi/Makefile
new file mode 100644
index 000000000000..b566c9dc9287
--- /dev/null
+++ b/devel/aws-crt-ffi/Makefile
@@ -0,0 +1,37 @@
+PORTNAME=	aws-crt-ffi
+PORTVERSION=	0.3.8
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Foreign function interface (FFI) for the AWS Common Runtime (CRT) libraries
+WWW=		https://github.com/awslabs/aws-crt-ffi
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libaws-c-auth.so:security/aws-c-auth \
+		libaws-c-cal.so:security/aws-c-cal \
+		libaws-c-common.so:devel/aws-c-common \
+		libaws-c-compression.so:devel/aws-c-compression \
+		libaws-c-event-stream.so:devel/aws-c-event-stream \
+		libaws-c-http.so:devel/aws-c-http \
+		libaws-c-io.so:devel/aws-c-io \
+		libaws-c-sdkutils.so:devel/aws-c-sdkutils \
+		libaws-checksums.so:devel/aws-checksums \
+		libs2n.so:security/s2n-tls
+
+USES=		cmake ssl
+
+CMAKE_ARGS=	-DCMAKE_PREFIX_PATH=${LOCALBASE}
+CMAKE_OFF=	BUILD_DEPS BUILD_TESTING
+CMAKE_ON=	BUILD_SHARED_LIBS
+USE_LDCONFIG=	yes
+
+PLIST_FILES=	lib/aws-crt-ffi/cmake/aws-crt-ffi-config.cmake \
+		lib/libaws-crt-ffi.so
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	awslabs
+
+.include <bsd.port.mk>
diff --git a/devel/aws-crt-ffi/distinfo b/devel/aws-crt-ffi/distinfo
new file mode 100644
index 000000000000..6f0f90a1d11c
--- /dev/null
+++ b/devel/aws-crt-ffi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718580000
+SHA256 (awslabs-aws-crt-ffi-v0.3.8_GH0.tar.gz) = 858fceb8c6833e18dbade55b47e130f0cfcd7359c711b3344dd99e6e6181182b
+SIZE (awslabs-aws-crt-ffi-v0.3.8_GH0.tar.gz) = 31964
diff --git a/devel/aws-crt-ffi/pkg-descr b/devel/aws-crt-ffi/pkg-descr
new file mode 100644
index 000000000000..6c47bac0f207
--- /dev/null
+++ b/devel/aws-crt-ffi/pkg-descr
@@ -0,0 +1,2 @@
+AWS CRT FFI provides Foreign function interface (FFI) for the AWS Common Runtime
+(CRT) libraries.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406180407.45I47AFr074891>