summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 17:16:19 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:24:59 +0200
commite3077bc8225ef10361f1b81b93d3eafc35bd2e55 (patch)
treec59b0376880721a8362ff85301b72294d88b7ef0
parent3c6985d309a37217196877bc87a84967ad2dd213 (diff)
downloadbuildroot-novena-e3077bc8225ef10361f1b81b93d3eafc35bd2e55.tar.gz
buildroot-novena-e3077bc8225ef10361f1b81b93d3eafc35bd2e55.zip
taglib: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/multimedia/taglib/taglib.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/multimedia/taglib/taglib.mk b/package/multimedia/taglib/taglib.mk
index 2620b971a..e5433a42b 100644
--- a/package/multimedia/taglib/taglib.mk
+++ b/package/multimedia/taglib/taglib.mk
@@ -16,10 +16,12 @@ TAGLIB_CONF_ENV = \
TAGLIB_CONF_OPT = --disable-libsuffix --program-prefix=''
-$(eval $(call AUTOTARGETS,package/multimedia,taglib))
+define TAGLIB_REMOVE_DEVFILE
+ rm -f $(TARGET_DIR)/usr/bin/taglib-config
+endef
ifneq ($(BR2_HAVE_DEVFILES),y)
-$(TAGLIB_HOOK_POST_INSTALL):
- rm -f $(TARGET_DIR)/usr/bin/taglib-config
- touch $@
+TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE
endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,taglib))