summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/pulseaudio/libatomics-ops_7.2.bb
blob: 5a582287b5d58c4527e7accbcf6b1c647bc68d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "A library for atomic integer operations"
DESCRIPTION = "A library for atomic integer operations"
HOMEPAGE = "http://www.hpl.hp.com/research/linux/atomic_ops/"
SECTION = "optional"
LICENSE = "GPLv2 & MIT"
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                    file://doc/LICENSING.txt;md5=607073e04548eac7d1f763e480477bab \
		   "
PR = "r1"

SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-${PV}.tar.gz \
           file://0001-libatomic_ops-Aarch64-basic-port.patch \
          "

SRC_URI[md5sum] = "890acdc83a7cd10e2e9536062d3741c8"
SRC_URI[sha256sum] = "c4ee6e0c304c6f13bcc32968453cdb54b2ec233d8bf4cfcf266ee09dc33b4eb5"

S = "${WORKDIR}/libatomic_ops-${PV}"

ALLOW_EMPTY_${PN} = "1"

ARM_INSTRUCTION_SET = "arm"

inherit autotools pkgconfig

do_install_append() {
	# those contain only docs, not necessary for now.
	install -m 0755 -d ${D}${docdir}
	mv ${D}${datadir}/libatomic_ops ${D}${docdir}/${BPN}
}

BBCLASSEXTEND = "native nativesdk"