diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2018-04-15 16:15:26 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-05-01 18:12:50 -0700 |
commit | 5401466fba7d4b72ab8dea2ace8591eac011642f (patch) | |
tree | e9d818432d597b6386c5c774dfb371f97d8b7e8d /meta-multimedia/recipes-multimedia/tinyalsa | |
parent | 97c09fd27eef86864c18f899dd0f3a8c57dad32a (diff) | |
download | meta-openembedded-contrib-5401466fba7d4b72ab8dea2ace8591eac011642f.tar.gz |
tinyalsa: add recipe
TinyALSA is a small library to interface with ALSA in the Linux kernel.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/tinyalsa')
-rw-r--r-- | meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb new file mode 100644 index 0000000000..fa5449ff6b --- /dev/null +++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb @@ -0,0 +1,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" + +SRC_URI = "https://github.com/tinyalsa/tinyalsa/archive/${PV}.tar.gz" +SRC_URI[md5sum] = "ec5c1cc175fcb8c9d3d0adcececf10a9" +SRC_URI[sha256sum] = "d92b438cea348ae316c4b2cbf367b4f01ed821a947e6a34d813624e9e3c936c1" + +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}/*" |