taglib: convert old-style hook to new-style hook

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-09-01 17:16:19 +02:00
parent 3c6985d309
commit e3077bc822
1 changed files with 6 additions and 4 deletions

View File

@ -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))