RetroArch/deps/libShake/extras/buildroot-package/libshake/libshake.mk
2020-11-17 16:13:37 +00:00

27 lines
749 B
Makefile

#############################################################
#
# libshake
#
#############################################################
LIBSHAKE_VERSION = master
LIBSHAKE_SITE = $(call github,zear,libShake,$(LIBSHAKE_VERSION))
LIBSHAKE_LICENSE = MIT
LIBSHAKE_LICENSE_FILES = LICENSE.txt
LIBSHAKE_INSTALL_STAGING = YES
LIBSHAKE_MAKE_ENV = CC="$(TARGET_CC)" PREFIX=/usr
define LIBSHAKE_BUILD_CMDS
$(LIBSHAKE_MAKE_ENV) $(MAKE) -C $(@D) BACKEND=LINUX
endef
define LIBSHAKE_INSTALL_STAGING_CMDS
$(LIBSHAKE_MAKE_ENV) DESTDIR="$(STAGING_DIR)" $(MAKE) -C $(@D) BACKEND=LINUX install
endef
define LIBSHAKE_INSTALL_TARGET_CMDS
$(LIBSHAKE_MAKE_ENV) DESTDIR="$(TARGET_DIR)" $(MAKE) -C $(@D) BACKEND=LINUX install-lib
endef
$(eval $(generic-package))