2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 19:58:41 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# urg
|
2013-03-11 19:58:41 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 19:58:41 +01:00
|
|
|
|
|
|
|
URG_VERSION = 0.8.18
|
2016-10-15 12:04:20 +02:00
|
|
|
URG_SITE = http://pkgs.fedoraproject.org/repo/pkgs/urg/urg-0.8.18.zip/md5/93f90d2ccc36e784407c5282ef6bd2cb
|
2013-03-11 19:58:41 +01:00
|
|
|
URG_SOURCE = urg-$(URG_VERSION).zip
|
2017-03-30 15:43:35 +02:00
|
|
|
URG_LICENSE = LGPL-3.0
|
2013-03-11 19:58:41 +01:00
|
|
|
URG_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
URG_INSTALL_STAGING = YES
|
|
|
|
|
2014-01-18 20:23:46 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL_NET),yy)
|
|
|
|
URG_DEPENDENCIES += sdl sdl_net
|
2014-12-30 08:36:23 +01:00
|
|
|
URG_CONF_OPTS += \
|
|
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
|
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
2014-01-18 20:23:46 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
URG_CONF_OPTS = --without-sdl
|
2014-01-18 20:23:46 +01:00
|
|
|
URG_CONF_ENV += ac_cv_path_SDL_CONFIG=""
|
|
|
|
endif
|
2013-03-11 19:58:41 +01:00
|
|
|
|
2013-03-17 23:36:18 +01:00
|
|
|
URG_CONFIG_SCRIPTS = c_urg-config urg-config
|
|
|
|
|
2013-03-11 19:58:41 +01:00
|
|
|
define URG_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) -d $(BUILD_DIR) $(URG_DL_DIR)/$(URG_SOURCE)
|
2013-03-11 19:58:41 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|