aboutsummaryrefslogtreecommitdiffstats
path: root/package/divine/divine.mk
blob: 7c7585f4f25341cc16912adeb5eb5e55c7bd2d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# divine
#
#############################################################

DIVINE_VERSION := 0.4.0
DIVINE_SITE := http://www.directfb.org/downloads/Extras
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))