mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
IEC 61850 is an international standard for communication systems in Substation Automation Systems (SAS) and management of Decentralized Energy Resources (DER). It is seen as one of the communication standards of the emerging Smart Grid. Add two upstream patch fixing build issues with musl libc. Enable the libiec61850 python binding (pyiec61850) that require a fix to find the correct PYTHON_SITE_DIR path while cross-compiling. Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
40 lines
1.4 KiB
BlitzBasic
40 lines
1.4 KiB
BlitzBasic
SUMMARY = "Open source iec61850 implementation"
|
|
DESCRIPTION = "IEC 61850 is an international standard for \
|
|
communication systems in Substation Automation Systems \
|
|
(SAS) and management of Decentralized Energy Resources \
|
|
(DER). It is seen as one of the communication standards \
|
|
of the emerging Smart Grid. \
|
|
The project libIEC61850 provides a server and client \
|
|
library for the IEC 61850/MMS, IEC 61850/GOOSE and IEC \
|
|
61850-9-2/Sampled Values communication protocols \
|
|
written in C. It is available under the GPLv3 license."
|
|
HOMEPAGE = "http://libiec61850.com"
|
|
SECTION = "console/network"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
DEPENDS = "swig-native python3"
|
|
SRCREV = "d798814fb463115a835da597535a625b68a39cff"
|
|
|
|
SRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.4 \
|
|
file://0001-use-poll.h-instead-of-sys-poll.h.patch \
|
|
file://0002-serial_port_linux-Add-missing-include-sys-time.h.patch \
|
|
file://0003-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake pkgconfig python3-dir python3native siteinfo
|
|
|
|
EXTRA_OECMAKE = " \
|
|
-DBUILD_EXAMPLES=OFF \
|
|
-DBUILD_PYTHON_BINDINGS=ON \
|
|
"
|
|
|
|
RDEPENDS_${PN}-python = " python3-core "
|
|
RDEPENDS_${PN} = " python3-core "
|
|
|
|
FILES_${PN} += " \
|
|
${libdir}/${PYTHON_DIR}/site-packages/iec61850.py \
|
|
${libdir}/${PYTHON_DIR}/site-packages/_iec61850.so \
|
|
"
|