summaryrefslogtreecommitdiffstats
path: root/package/pango/pango.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 17:17:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:24:59 +0200
commit918978d4ad82f9c4caaad30ec8fbcd8db0171f57 (patch)
tree395b9072a7af5d40cbe05365dc2495731b80833f /package/pango/pango.mk
parente3077bc8225ef10361f1b81b93d3eafc35bd2e55 (diff)
downloadbuildroot-novena-918978d4ad82f9c4caaad30ec8fbcd8db0171f57.tar.gz
buildroot-novena-918978d4ad82f9c4caaad30ec8fbcd8db0171f57.zip
pango: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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))