Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Tools for taking the MD5 sum of ISO images" |
| 2 | DESCRIPTION = "Tools for taking the MD5 sum of ISO images" |
| 3 | |
| 4 | DEPENDS = "popt python3 openssl curl popt-native" |
| 5 | RDEPENDS_${PN} = "openssl curl" |
| 6 | |
| 7 | LICENSE = "GPLv2" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
| 9 | |
| 10 | SRC_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 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | inherit python3native |
| 17 | |
| 18 | EXTRA_OEMAKE += " \ |
| 19 | DESTDIR='${D}' \ |
| 20 | PYTHONINCLUDE='-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}' \ |
| 21 | PYTHONSITEPACKAGES='${PYTHON_SITEPACKAGES_DIR}' \ |
| 22 | " |
| 23 | |
| 24 | do_install () { |
| 25 | oe_runmake install |
| 26 | } |
| 27 | |
| 28 | PACKAGES += "${PYTHON_PN}-${PN} ${PYTHON_PN}-${PN}-dbg" |
| 29 | |
| 30 | FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so" |
| 31 | FILES_${PYTHON_PN}-${PN}-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug/pyisomd5sum.so" |
| 32 | |
| 33 | SRCREV = "69dc036d20761715b734ca9cc59ecc6dc8145026" |
| 34 | |
| 35 | BBCLASSEXTEND = "native" |