-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google…
… Cloud Platform services (frozen at version 1.17.0 to support science/py-tensorflow) PR: 257053
- Loading branch information
Showing
5 changed files
with
694 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
PORTNAME= google-cloud-cpp | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 1.17.0 | ||
CATEGORIES= devel | ||
PKGNAMESUFFIX= 117 | ||
DIST_SUBDIR= ${PORTNAME} | ||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | ||
|
||
MAINTAINER= amzo1337@gmail.com | ||
COMMENT= C++ Idiomatic Clients for Google Cloud Platform services | ||
|
||
LICENSE= BSD3CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
NOT_FOR_ARCHS= i386 powerpc | ||
|
||
BUILD_DEPENDS= grpc>=1.19.1:devel/grpc \ | ||
nlohmann-json>0:devel/nlohmann-json \ | ||
protobuf>=3.7.1:devel/protobuf | ||
LIB_DEPENDS= libabsl_strings.so:devel/abseil \ | ||
libcares.so:dns/c-ares \ | ||
libcrc32c.so:devel/crc32c \ | ||
libcurl.so:ftp/curl \ | ||
libgrpc.so:devel/grpc \ | ||
libprotobuf.so:devel/protobuf \ | ||
libre2.so:devel/re2 | ||
|
||
USES= cmake compiler:c++17-lang pkgconfig ssl | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= GoogleCloudPlatform | ||
GH_TUPLE= googleapis:googleapis:59f97e6044a1275f83427ab7962a154c00d915b5:googleapis | ||
USE_LDCONFIG= yes | ||
|
||
CMAKE_ARGS= -DGOOGLE_CLOUD_CPP_CXX_STANDARD=17 \ | ||
-DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package | ||
CMAKE_ON= BUILD_SHARED_LIBS | ||
CMAKE_OFF= BUILD_TESTING GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS | ||
|
||
CFLAGS+= -I${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build | ||
LDFLAGS+= -L${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build | ||
|
||
post-extract: | ||
@${MKDIR} ${BUILD_WRKSRC}/external/googleapis/src/ | ||
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_googleapis} \ | ||
${BUILD_WRKSRC}/external/googleapis/src/59f97e6044a1275f83427ab7962a154c00d915b5.tar.gz | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TIMESTAMP = 1625738376 | ||
SHA256 (google-cloud-cpp/GoogleCloudPlatform-google-cloud-cpp-v1.17.0_GH0.tar.gz) = 4663c9dd11839ac41972ec4332df3a159672035cc7d05d1106b24bf8a4a30db9 | ||
SIZE (google-cloud-cpp/GoogleCloudPlatform-google-cloud-cpp-v1.17.0_GH0.tar.gz) = 3368007 | ||
SHA256 (google-cloud-cpp/googleapis-googleapis-59f97e6044a1275f83427ab7962a154c00d915b5_GH0.tar.gz) = 5e785c25b1d57973e7481b4da226d7c73056ea22c7545bf6d14dbebf6e99b073 | ||
SIZE (google-cloud-cpp/googleapis-googleapis-59f97e6044a1275f83427ab7962a154c00d915b5_GH0.tar.gz) = 3075729 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Google cloud C++ librariesC++ libraries for use with the Google | ||
Cloud platform. Google Cloud Platform provides infrastructure as a | ||
service, platform as a service, and serverless computing environments. | ||
|
||
WWW: https://github.com/googleapis/google-cloud-cpp |
Oops, something went wrong.