python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / chocolate-doom / chocolate-doom.mk
blob7283092359db0a15541b7c2850fc99d730533448
1 ################################################################################
3 # chocolate-doom
5 ################################################################################
7 CHOCOLATE_DOOM_VERSION = 2.3.0
8 CHOCOLATE_DOOM_SITE = http://www.chocolate-doom.org/downloads/$(CHOCOLATE_DOOM_VERSION)
9 CHOCOLATE_DOOM_LICENSE = GPLv2+
10 CHOCOLATE_DOOM_LICENSE_FILES = COPYING
11 CHOCOLATE_DOOM_DEPENDENCIES = host-pkgconf sdl sdl_mixer sdl_net
13 # We're patching configure.ac, so we need to autoreconf
14 CHOCOLATE_DOOM_AUTORECONF = YES
16 # Avoid installing desktop entries, icons, etc.
17 CHOCOLATE_DOOM_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
19 CHOCOLATE_DOOM_CONF_OPTS = \
20 --disable-sdltest \
21 --with-sdl-prefix=$(STAGING_DIR)/usr \
22 --with-sdl-exec-prefix=$(STAGING_DIR)/usr
24 ifeq ($(BR2_PACKAGE_LIBPNG),y)
25 CHOCOLATE_DOOM_DEPENDENCIES += libpng
26 CHOCOLATE_DOOM_CONF_OPTS += --with-libpng
27 else
28 CHOCOLATE_DOOM_CONF_OPTS += --without-libpng
29 endif
31 ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
32 CHOCOLATE_DOOM_DEPENDENCIES += libsamplerate
33 CHOCOLATE_DOOM_CONF_OPTS += --with-libsamplerate
34 else
35 CHOCOLATE_DOOM_CONF_OPTS += --without-libsamplerate
36 endif
38 $(eval $(autotools-package))