summaryrefslogtreecommitdiffstats
path: root/package/pango/pango.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/pango/pango.mk')
-rw-r--r--package/pango/pango.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/pango/pango.mk b/package/pango/pango.mk
index 875c0bc4f..dc04b5553 100644
--- a/package/pango/pango.mk
+++ b/package/pango/pango.mk
@@ -54,8 +54,10 @@ else
PANGO_CONF_OPT += --without-x
endif
-$(eval $(call AUTOTARGETS,package,pango))
-
-$(PANGO_HOOK_POST_INSTALL):
+define PANGO_INSTALL_INITSCRIPT
$(INSTALL) -m 755 package/pango/S25pango $(TARGET_DIR)/etc/init.d/
- touch $@
+endef
+
+PANGO_POST_INSTALL_TARGET_HOOKS += PANGO_INSTALL_INITSCRIPT
+
+$(eval $(call AUTOTARGETS,package,pango))