src/world/gettext/Makefile

19 lines
613 B
Makefile

# Makefile - hhl - /usr/src/world/
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
distname = gettext
patches += gettext-libtextstyle.patch
includes += include/stdbool.h
includes += include/version.h
includes += include/woe32dll.h
include world.mk
define post_configure
install -m644 $(includes) $(srcdir)/libtextstyle/lib/textstyle
endef
CFLAGS = -I$(srcdir)/libtextstyle/lib
config_opts += --host=$(tgt)
config_opts += --with-sysroot=$(DESTDIR)
config_opts += --disable-static
config_opts += --docdir=$(install_prefix)/share/doc/gettext/$(gettext_version)
include targets.mk