xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/satyr/satyr_0.39.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "Satyr is a collection of low-level algorithms for program \
2*4882a593Smuzhiyunfailure processing, analysis, and reporting supporting kernel space, user \
3*4882a593Smuzhiyunspace, Python, and Java programs"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunHOMEPAGE = "https://github.com/abrt/satyr"
6*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyuninherit autotools-brokensep python3native pkgconfig
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \
11*4882a593Smuzhiyun           file://0002-fix-compile-failure-against-musl-C-library.patch \
12*4882a593Smuzhiyun"
13*4882a593SmuzhiyunSRCREV = "f8a0dbfe7fcc6e44f03d66ca5c81363aea318380"
14*4882a593SmuzhiyunS = "${WORKDIR}/git"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDEPENDS += " \
19*4882a593Smuzhiyun    gdb \
20*4882a593Smuzhiyun    gperf-native \
21*4882a593Smuzhiyun    json-c \
22*4882a593Smuzhiyun    nettle \
23*4882a593Smuzhiyun    glib-2.0 \
24*4882a593Smuzhiyun"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunPACKAGES += "python3-${BPN}"
27*4882a593SmuzhiyunFILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/${BPN}"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunPACKAGECONFIG ??= "python3 rpm"
30*4882a593SmuzhiyunPACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
31*4882a593SmuzhiyunPACKAGECONFIG[rpm] = "--with-rpm, --without-rpm, rpm"
32*4882a593Smuzhiyun
33*4882a593Smuzhiyundo_configure:prepend() {
34*4882a593Smuzhiyun    ${S}/gen-version
35*4882a593Smuzhiyun}
36