include ../../$(CONFIG)

GARNAME = gettext
GARVERSION = $(GETTEXT_VER)
CATEGORIES = toolchain
DEPENDS =
LIBDEPS =

DESCRIPTION = $(GARNAME)-$(GARVERSION)

DISTFILES = $(GETTEXT_SRC)


CONFIGURE_SCRIPTS = $(WORKSRC)/gettext-runtime/configure
CONFIGURE_ARGS = --prefix=$(COMPILER_DIR)  --host=$(TARGET) --build=$(BUILD) --with-included-gettext --without-csharp --disable-libasprintf

BUILD_SCRIPTS = $(WORKSRC)/gettext-runtime/intl/Makefile

INSTALL_SCRIPTS = $(WORKSRC)/gettext-runtime/intl/Makefile



include ../category.mk

ifeq ($(ARCH), cris)
TARGET=cris-linux
endif

post-install:
	mv $(COMPILER_DIR)/include/libintl.h $(COMPILER_DIR)/usr/include
