xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "The volume_key project provides a libvolume_key, a library for manipulating \
2*4882a593Smuzhiyunstorage volume encryption keys and storing them separately from volumes, and an \
3*4882a593Smuzhiyunassociated command-line tool, named volume_key."
4*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
5*4882a593SmuzhiyunSECTION = "devel/lib"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunHOMEPAGE = "https://pagure.io/volume_key"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \
12*4882a593Smuzhiyun"
13*4882a593SmuzhiyunSRC_URI[md5sum] = "200591290173c3ea71528411838f9080"
14*4882a593SmuzhiyunSRC_URI[sha256sum] = "6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunSRCNAME = "volume_key"
17*4882a593SmuzhiyunS = "${WORKDIR}/${SRCNAME}-${PV}"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyuninherit autotools python3native gettext pkgconfig
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunDEPENDS += " \
22*4882a593Smuzhiyun    util-linux \
23*4882a593Smuzhiyun    glib-2.0 \
24*4882a593Smuzhiyun    cryptsetup \
25*4882a593Smuzhiyun    nss \
26*4882a593Smuzhiyun    gpgme \
27*4882a593Smuzhiyun    swig-native \
28*4882a593Smuzhiyun"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunPACKAGECONFIG ??= "python3"
31*4882a593SmuzhiyunPACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunEXTRA_OECONF = "--without-python"
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunRDEPENDS:python3-${BPN} += "${PN}"
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunPACKAGES += "python3-${BPN}"
38*4882a593SmuzhiyunFILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/*"
39