################################################################################
#
# sedutil
#
################################################################################
SEDUTIL_VERSION = 1.15
SEDUTIL_SOURCE = sedutil-$(SEDUTIL_VERSION).tar.gz
SEDUTIL_SITE = http://www.foosoftware.org/download
SEDUTIL_INSTALL_STAGING = NO
SEDUTIL_LIBTOOL_PATCH = NO
SEDUTIL_INSTALL_TARGET = YES
SEDUTIL_CONF_OPTS = --sbindir=/sbin
SWDUTIL_MAKE=$(MAKE1)
#SEDUTIL_DEPENDENCIES = libstdc++
# Dont regen version header use the tarball version
define SEDUTIL_POST_EXTRACT_ACTIONS
sed -i '/^CLEANFILES/d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.am
sed -i '/^BUILT_SOURCES/d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.am
sed -i '/^linux\/Version/,3 d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.am
sed -i '/^BUILT_SOURCES/d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.in
sed -i '/^CLEANFILES/d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.in
sed -i '/^linux\/Version/,3 d' $(BUILD_DIR)/sedutil-$(SEDUTIL_VERSION)/Makefile.in
endef
SEDUTIL_POST_EXTRACT_HOOKS += SEDUTIL_POST_EXTRACT_ACTIONS
$(eval $(autotools-package))