1*4882a593SmuzhiyunSUMMARY = "Open source iec61850 implementation"
2*4882a593SmuzhiyunDESCRIPTION = "IEC 61850 is an international standard for \
3*4882a593Smuzhiyuncommunication systems in Substation Automation Systems \
4*4882a593Smuzhiyun(SAS) and management of Decentralized Energy Resources \
5*4882a593Smuzhiyun(DER). It is seen as one of the communication standards \
6*4882a593Smuzhiyunof the emerging Smart Grid. \
7*4882a593SmuzhiyunThe project libIEC61850 provides a server and client \
8*4882a593Smuzhiyunlibrary for the IEC 61850/MMS, IEC 61850/GOOSE and IEC \
9*4882a593Smuzhiyun61850-9-2/Sampled Values communication protocols \
10*4882a593Smuzhiyunwritten in C. It is available under the GPLv3 license."
11*4882a593SmuzhiyunHOMEPAGE = "http://libiec61850.com"
12*4882a593SmuzhiyunSECTION = "console/network"
13*4882a593SmuzhiyunLICENSE = "GPL-3.0-only"
14*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
15*4882a593SmuzhiyunDEPENDS = "swig-native python3"
16*4882a593SmuzhiyunSRCREV = "210cf30897631fe2006ac50483caf8fd616622a2"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.5;protocol=https \
19*4882a593Smuzhiyun           file://0001-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \
20*4882a593Smuzhiyun           file://0001-pyiec61850-Use-CMAKE_INSTALL_LIBDIR-from-GNUInstallD.patch \
21*4882a593Smuzhiyun"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunS = "${WORKDIR}/git"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuninherit cmake pkgconfig python3-dir python3native siteinfo
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunEXTRA_OECMAKE = " \
28*4882a593Smuzhiyun    -DBUILD_EXAMPLES=OFF \
29*4882a593Smuzhiyun    -DBUILD_PYTHON_BINDINGS=ON \
30*4882a593Smuzhiyun"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunRDEPENDS:${PN}-python = " python3-core "
33*4882a593SmuzhiyunRDEPENDS:${PN} = " python3-core "
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunFILES:${PN} += " \
36*4882a593Smuzhiyun    ${libdir}/${PYTHON_DIR}/site-packages/iec61850.py \
37*4882a593Smuzhiyun    ${libdir}/${PYTHON_DIR}/site-packages/_iec61850.so \
38*4882a593Smuzhiyun"
39