Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "A library for atomic integer operations" |
| 2 | HOMEPAGE = "https://github.com/ivmai/libatomic_ops/" |
| 3 | SECTION = "optional" |
| 4 | PROVIDES += "libatomics-ops" |
| 5 | LICENSE = "GPLv2 & MIT" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 7 | file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI = "http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${PV}.tar.gz" |
| 11 | |
| 12 | SRC_URI[md5sum] = "1d6538604b314d2fccdf86915e5c0857" |
| 13 | SRC_URI[sha256sum] = "04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd" |
| 14 | |
| 15 | S = "${WORKDIR}/libatomic_ops-${PV}" |
| 16 | |
| 17 | ALLOW_EMPTY_${PN} = "1" |
| 18 | |
| 19 | ARM_INSTRUCTION_SET = "arm" |
| 20 | |
| 21 | inherit autotools pkgconfig |
| 22 | |
| 23 | do_install_append() { |
| 24 | # those contain only docs, not necessary for now. |
| 25 | install -m 0755 -d ${D}${docdir} |
| 26 | mv ${D}${datadir}/libatomic_ops ${D}${docdir}/${BPN} |
| 27 | } |
| 28 | |
| 29 | BBCLASSEXTEND = "native nativesdk" |