From 918978d4ad82f9c4caaad30ec8fbcd8db0171f57 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 1 Sep 2010 17:17:04 +0200 Subject: pango: convert old-style hook to new-style hook Signed-off-by: Thomas Petazzoni --- package/pango/pango.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'package/pango') 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)) -- cgit v1.2.3