buildroot/package/rubix/rubix.mk
Fabrice Fontaine 6cb6e1b619 package/rubix: bump to version 1.0.6
- Switch site to http://sed.free.fr/rubix
- Add hash for license file
- Switch to generic-package (configure script has been removed)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-05-26 15:35:47 +02:00

31 lines
830 B
Makefile

################################################################################
#
# rubix
#
################################################################################
RUBIX_VERSION = 1.0.6
RUBIX_SOURCE = rubix-$(RUBIX_VERSION).tar.bz2
RUBIX_SITE = http://sed.free.fr/rubix
RUBIX_LICENSE = Public Domain
RUBIX_LICENSE_FILES = LICENCE
RUBIX_DEPENDENCIES = xlib_libX11
RUBIX_MAKE_OPTS = \
CC="$(TARGET_CC)" \
XINC="-I$(STAGING_DIR)/usr/include/X11" \
XLIB="-L$(STAGING_DIR)/usr/lib -lX11"
RUBIX_INSTALL_TARGET_OPTS = GAMESDIR=$(TARGET_DIR)/usr/games install
define RUBIX_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RUBIX_MAKE_OPTS) rubix
endef
define RUBIX_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RUBIX_MAKE_OPTS) \
$(RUBIX_INSTALL_TARGET_OPTS)
endef
$(eval $(generic-package))