From: Thomas Petazzoni Date: Sun, 17 Mar 2013 22:36:18 +0000 (+0000) Subject: urg: handle config scripts properly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7d8d855f0ab28d6cd608b7204a9e13a18b15092;p=buildroot.git urg: handle config scripts properly urg installs two -config scripts, so the ones installed in $(STAGING_DIR) should be fixed up, and the ones installed in $(TARGET_DIR) should be removed. Use the _CONFIG_SCRIPTS infrastructure to do this. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/urg/urg.mk b/package/urg/urg.mk index b544ece8ea..99f63a9cd0 100644 --- a/package/urg/urg.mk +++ b/package/urg/urg.mk @@ -17,6 +17,8 @@ URG_DEPENDENCIES = sdl sdl_net URG_CONF_OPT = --with-sdl-prefix=$(STAGING_DIR)/usr \ --with-sdl-exec-prefix=$(STAGING_DIR)/usr +URG_CONFIG_SCRIPTS = c_urg-config urg-config + define URG_EXTRACT_CMDS $(RM) -rf $(URG_DIR) unzip -q -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE)