# -*-makefile-*- # # Copyright (C) 2007 by Luotao Fu # 2008, 2010 by Marc Kleine-Budde # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # HOST_PACKAGES-$(PTXCONF_HOST_LOCALEDEF) += host-localedef # # Paths and names # HOST_LOCALEDEF_VERSION := 2.37 HOST_LOCALEDEF_MD5 := 35e1dbd6014a1d0ba72d9f79330fddab HOST_LOCALEDEF := localedef-glibc-$(HOST_LOCALEDEF_VERSION) HOST_LOCALEDEF_SUFFIX := tar.bz2 HOST_LOCALEDEF_URL := $(call ptx/mirror, GNU, glibc/glibc-$(HOST_LOCALEDEF_VERSION).$(HOST_LOCALEDEF_SUFFIX)) HOST_LOCALEDEF_SOURCE := $(SRCDIR)/glibc-$(HOST_LOCALEDEF_VERSION).$(HOST_LOCALEDEF_SUFFIX) HOST_LOCALEDEF_DIR := $(HOST_BUILDDIR)/$(HOST_LOCALEDEF) HOST_LOCALEDEF_BUILD_OOT:= YES HOST_LOCALEDEF_LICENSE := LGPL-2.1-or-later AND GPL-2.0-or-later # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_LOCALEDEF_CONF_ENV := \ $(HOST_ENV) \ libc_cv_complocaledir='/usr/lib/locale' # # autoconf # HOST_LOCALEDEF_CONF_TOOL := autoconf HOST_LOCALEDEF_CONF_OPT := \ --prefix=/usr \ --enable-sanity-checks \ --disable-profile \ --enable-default-pie \ --disable-timezone-tools \ --disable-hardcoded-path-in-tests \ --enable-hidden-plt \ --enable-bind-now \ --enable-stack-protector \ --disable-static-nss \ --disable-force-install \ --disable-all-warnings \ --disable-werror \ --disable-multi-arch \ --disable-experimental-malloc \ --disable-memory-tagging \ --disable-crypt \ --disable-nss-crypt \ --disable-systemtap \ --disable-build-nscd \ --disable-nscd \ --disable-pt_chown \ --disable-tunables \ --disable-mathvec \ --enable-cet \ --disable-scv HOST_LOCALEDEF_MAKE_OPT := locale/others HOST_LOCALEDEF_INSTALL_OPT := locale/install-others # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/host-localedef.install: @$(call targetinfo) @install -vD -m755 $(HOST_LOCALEDEF_DIR)-build/locale/localedef \ $(HOST_LOCALEDEF_PKGDIR)/usr/bin/localedef @$(call touch) # vim: syntax=make