blob: 815113e674b9d5030ffdda49822c079252926e82 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Tools for taking the MD5 sum of ISO images"
2DESCRIPTION = "Tools for taking the MD5 sum of ISO images"
3
4DEPENDS = "popt python3 openssl curl popt-native"
5RDEPENDS_${PN} = "openssl curl"
6
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
9
10SRC_URI = "git://github.com/rhinstaller/isomd5sum.git;branch=master \
11 file://0001-tweak-install-prefix.patch \
12 file://0002-fix-parallel-error.patch \
13"
14
15S = "${WORKDIR}/git"
16inherit python3native
17
18EXTRA_OEMAKE += " \
19 DESTDIR='${D}' \
20 PYTHONINCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}' \
21 PYTHONSITEPACKAGES='${PYTHON_SITEPACKAGES_DIR}' \
22"
23
24do_install () {
25 oe_runmake install
26}
27
28PACKAGES += "${PYTHON_PN}-${PN} ${PYTHON_PN}-${PN}-dbg"
29
30FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so"
31FILES_${PYTHON_PN}-${PN}-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug/pyisomd5sum.so"
32
33SRCREV = "69dc036d20761715b734ca9cc59ecc6dc8145026"
34
35BBCLASSEXTEND = "native"