2021-06-04 11:00:37 +02:00
|
|
|
SUMMARY = "A date and time library based on C++11/14/17."
|
2021-06-02 16:13:46 +02:00
|
|
|
AUTHOR = "Howard Hinnant"
|
|
|
|
HOMEPAGE = "https://github.com/HowardHinnant/date.git"
|
|
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b5d973344b3c7bbf7535f0e6e002d017"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
2021-11-23 17:16:27 +01:00
|
|
|
git://github.com/HowardHinnant/date.git;protocol=https;branch=master \
|
2022-01-01 07:00:26 +01:00
|
|
|
file://pkgconfig.patch \
|
2021-06-02 16:13:46 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2021-06-03 19:48:52 +02:00
|
|
|
PV = "3.0.1"
|
2022-02-01 04:34:57 +01:00
|
|
|
SRCREV = "6e921e1b1d21e84a5c82416ba7ecd98e33a436d0"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
inherit cmake
|
|
|
|
|
|
|
|
DEPENDS = "curl"
|
|
|
|
|
|
|
|
EXTRA_OECMAKE += " \
|
|
|
|
-DBUILD_TZ_LIB=ON \
|
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
|
-DUSE_SYSTEM_TZ_DB=ON \
|
|
|
|
"
|
|
|
|
|