mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
27 lines
749 B
Makefile
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))
|