From: Stefan Fröberg Date: Thu, 3 Jan 2013 12:09:00 +0000 (+0000) Subject: divine: fix divine-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdcbd9fb3dedc69c3b6a6742701ff204dd9fba0a;p=buildroot.git divine: fix divine-config [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- diff --git a/package/divine/divine.mk b/package/divine/divine.mk index 779322e559..7c7585f4f2 100644 --- a/package/divine/divine.mk +++ b/package/divine/divine.mk @@ -10,4 +10,12 @@ DIVINE_SOURCE = DiVine-$(DIVINE_VERSION).tar.gz DIVINE_INSTALL_STAGING = YES DIVINE_DEPENDENCIES = directfb +define DIVINE_STAGING_DIVINE_CONFIG_FIXUP + $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \ + -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ + $(STAGING_DIR)/usr/bin/divine-config +endef + +DIVINE_POST_INSTALL_STAGING_HOOKS += DIVINE_STAGING_DIVINE_CONFIG_FIXUP + $(eval $(autotools-package))