Commit e3077bc8 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

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

parent 3c6985d3
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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))