From 5401466fba7d4b72ab8dea2ace8591eac011642f Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Sun, 15 Apr 2018 16:15:26 +0200 Subject: tinyalsa: add recipe TinyALSA is a small library to interface with ALSA in the Linux kernel. Signed-off-by: Carlos Rafael Giani Signed-off-by: Armin Kuster --- .../recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb (limited to 'meta-multimedia/recipes-multimedia/tinyalsa') 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 000000000..fa5449ff6 --- /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}/*" -- cgit v1.2.3-54-g00ecf