git: fix build with with no threads
[buildroot-gz.git] / package / urg / urg.mk
blob5d49aeb41d35e4953a8678865aabcbb497e42237
1 ################################################################################
3 # urg
5 ################################################################################
7 URG_VERSION = 0.8.18
8 URG_SITE = http://pkgs.fedoraproject.org/repo/pkgs/urg/urg-0.8.18.zip/md5/93f90d2ccc36e784407c5282ef6bd2cb
9 URG_SOURCE = urg-$(URG_VERSION).zip
10 URG_LICENSE = LGPLv3
11 URG_LICENSE_FILES = COPYING
13 URG_INSTALL_STAGING = YES
15 ifeq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL_NET),yy)
16 URG_DEPENDENCIES += sdl sdl_net
17 URG_CONF_OPTS += \
18 --with-sdl-prefix=$(STAGING_DIR)/usr \
19 --with-sdl-exec-prefix=$(STAGING_DIR)/usr
20 else
21 URG_CONF_OPTS = --without-sdl
22 URG_CONF_ENV += ac_cv_path_SDL_CONFIG=""
23 endif
25 URG_CONFIG_SCRIPTS = c_urg-config urg-config
27 define URG_EXTRACT_CMDS
28 $(RM) -rf $(URG_DIR)
29 $(UNZIP) -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE)
30 test -d $(URG_DIR) || \
31 mv $(BUILD_DIR)/$(subst .zip,,$(URG_SOURCE)) $(URG_DIR)
32 endef
34 $(eval $(autotools-package))