xorg-server: not available with musl on ARM
[buildroot-gz.git] / package / tinyalsa / tinyalsa.mk
blobd44155f94dbbbe3b1429d6bdc846a7014f2b8a1a
1 ################################################################################
3 # tinyalsa
5 ################################################################################
7 TINYALSA_VERSION = 1.1.0
8 TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,$(TINYALSA_VERSION))
9 TINYALSA_LICENSE = BSD-3c
10 TINYALSA_LICENSE_FILES = NOTICE
11 TINYALSA_INSTALL_STAGING = YES
13 define TINYALSA_BUILD_CMDS
14 $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
15 endef
17 define TINYALSA_INSTALL_STAGING_CMDS
18 $(TARGET_MAKE_ENV) $(MAKE) \
19 -C $(@D) \
20 PREFIX="/usr" \
21 CROSS_COMPILE="$(TARGET_CROSS)" \
22 DESTDIR="$(STAGING_DIR)" install
23 endef
25 define TINYALSA_INSTALL_TARGET_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) \
27 -C $(@D) \
28 PREFIX="/usr" \
29 CROSS_COMPILE="$(TARGET_CROSS)" \
30 DESTDIR="$(TARGET_DIR)" install
31 endef
33 $(eval $(generic-package))