Last active
December 15, 2019 15:51
-
-
Save tomaskrcka/36b0097efd734baa456ee22435bd34d3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
DESCRIPTION = "MongoDB C driver" | |
SECTION = "libs" | |
HOMEPAGE = "https://github.com/mongodb/mongo-c-driver" | |
LICENSE = "Apache-2.0" | |
DEPENDS = "git-native openssl zlib" | |
inherit cmake pkgconfig | |
SRC_URI = "https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/mongo-c-driver-${PV}.tar.gz" | |
SRC_URI[md5sum] = "c1b0d83bf0546ca3c1317858ad73f239" | |
SRC_URI[sha256sum] = "84fca347a6818e5ed6db50e06eb6d33538346b49bf0ba7475d7dbcecacac2ec6" | |
LIC_FILES_CHKSUM = "file://COPYING;md5=2ee41112a44fe7014dce33e26468ba93" | |
OECMAKE_C_FLAGS += "-pthread" | |
FILES_${PN} += "${libdir}/*" | |
FILES_${PN}-dev = "${libdir}/* ${includedir}" | |
do_install_append() { | |
chrpath -d ${D}${bindir}/mongoc-stat | |
} | |
S = "${WORKDIR}/mongo-c-driver-${PV}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment