blob: 4d0e299f4fc49b7252cc2d84e257316885b4879d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "A library for atomic integer operations"
2HOMEPAGE = "https://github.com/ivmai/libatomic_ops/"
3SECTION = "optional"
4PROVIDES += "libatomics-ops"
5LICENSE = "GPLv2 & MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://doc/LICENSING.txt;md5=e00dd5c8ac03a14c5ae5225a4525fa2d \
8 "
9
10SRC_URI = "http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${PV}.tar.gz"
11
12SRC_URI[md5sum] = "1d6538604b314d2fccdf86915e5c0857"
13SRC_URI[sha256sum] = "04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd"
14
15S = "${WORKDIR}/libatomic_ops-${PV}"
16
17ALLOW_EMPTY_${PN} = "1"
18
19ARM_INSTRUCTION_SET = "arm"
20
21inherit autotools pkgconfig
22
23do_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
29BBCLASSEXTEND = "native nativesdk"