aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb
blob: 66b95db00ffb6e01ab7954bd0ba3867e4c222329 (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
DESCRIPTION = "TinyALSA is a small library to interface with ALSA in \
the Linux kernel. It is a lightweight alternative to libasound."
HOMEPAGE = "https://github.com/tinyalsa/tinyalsa"
SECTION = "libs/multimedia"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"

S = "${WORKDIR}/git"
SRCREV = "df11091086b56e5fb71887f2fa320e1d2ffeff58"
SRC_URI = "git://github.com/tinyalsa/tinyalsa.git;protocol=https;"

do_configure() {
    :
}

do_compile() {
    oe_runmake CC='${CC}' LD='${CC}' AR='${AR}'
}

do_install() {
    oe_runmake install \
        PREFIX="${prefix}" DESTDIR="${D}" INCDIR="${includedir}/tinyalsa" \
        LIBDIR="${libdir}" BINDIR="${bindir}" MANDIR="${mandir}"
}

PACKAGES =+ "${PN}-tools"
FILES_${PN}-tools = "${bindir}/*"