summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 15:17:04 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 17:24:59 (GMT)
commit918978d4ad82f9c4caaad30ec8fbcd8db0171f57 (patch)
tree395b9072a7af5d40cbe05365dc2495731b80833f
parente3077bc8225ef10361f1b81b93d3eafc35bd2e55 (diff)
downloadbuildroot-918978d4ad82f9c4caaad30ec8fbcd8db0171f57.tar.gz
buildroot-918978d4ad82f9c4caaad30ec8fbcd8db0171f57.tar.bz2
pango: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 875c0bc..dc04b55 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))