diff options
-rw-r--r-- | package/divine/divine.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/divine/divine.mk b/package/divine/divine.mk index 779322e55..7c7585f4f 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)) |