lbreakout2.mk 966 B

123456789101112131415161718192021222324252627282930313233
  1. ################################################################################
  2. #
  3. # lbreakout2
  4. #
  5. ################################################################################
  6. LBREAKOUT2_VERSION_MAJOR = 2.6
  7. LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).5
  8. LBREAKOUT2_SITE = https://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
  9. LBREAKOUT2_LICENSE = GPL-2.0+
  10. LBREAKOUT2_LICENSE_FILES = COPYING
  11. LBREAKOUT2_DEPENDENCIES = sdl libpng $(TARGET_NLS_DEPENDENCIES)
  12. LBREAKOUT2_CONF_ENV = \
  13. SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
  14. LIBS=$(TARGET_NLS_LIBS)
  15. ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
  16. LBREAKOUT2_DEPENDENCIES += sdl_mixer
  17. LBREAKOUT2_CONF_OPTS += --enable-audio=yes
  18. else
  19. LBREAKOUT2_CONF_OPTS += --disable-audio
  20. endif
  21. ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
  22. LBREAKOUT2_DEPENDENCIES += sdl_net
  23. LBREAKOUT2_CONF_OPTS += --enable-network=yes
  24. else
  25. LBREAKOUT2_CONF_OPTS += --disable-network
  26. endif
  27. $(eval $(autotools-package))