blob: 937339f5465f2d1267065db042cbd4ae91f29e6f [file] [log] [blame]
################################################################################
#
# 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))