From bdcbd9fb3dedc69c3b6a6742701ff204dd9fba0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Fr=C3=B6berg?= Date: Thu, 3 Jan 2013 12:09:00 +0000 Subject: [PATCH] divine: fix divine-config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- package/divine/divine.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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)) -- 2.30.2