300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
568 B
Makefile
19 lines
568 B
Makefile
#############################################################
|
|
#
|
|
# rubix
|
|
#
|
|
#############################################################
|
|
RUBIX_VERSION = 1.0.5
|
|
RUBIX_SOURCE = rubix-$(RUBIX_VERSION).tar.bz2
|
|
RUBIX_SITE = http://avr32linux.org/twiki/pub/Main/Rubix
|
|
RUBIX_INSTALL_STAGING = NO
|
|
RUBIX_INSTALL_TARGET = YES
|
|
RUBIX_INSTALL_TARGET_OPT = GAMESDIR=$(TARGET_DIR)/usr/games install
|
|
|
|
RUBIX_MAKE_OPT = CC="$(TARGET_CC)" XINC="-I$(STAGING_DIR)/usr/include/X11" XLIB="-L$(STAGING_DIR)/usr/lib -lX11"
|
|
|
|
RUBIX_DEPENDENCIES = xserver_xorg-server
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
|