Commit 1db490aa authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

localedef: new package



This host only package allows to build the localedef program, which is
needed to generate locale data for (e)glibc-based systems. The source
code has been extracted from the eglibc sources and put inside a small
and nice tarball by the PTXdist developers, which makes it easy and
convenient to build for the host.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 18bd541d
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
#############################################################
#
# localedef
#
#############################################################

LOCALEDEF_VERSION = 2.14.1-r17443-ptx1
LOCALEDEF_SOURCE  = localedef-eglibc-$(LOCALEDEF_VERSION).tar.bz2
LOCALEDEF_SITE    = http://www.pengutronix.de/software/ptxdist/temporary-src/

HOST_LOCALEDEF_CONF_OPT += \
	--prefix=/usr \
	--with-glibc=./eglibc

# The makefile does not implement an install target
define HOST_LOCALEDEF_INSTALL_CMDS
	$(INSTALL) -D -m 0755 $(@D)/localedef $(HOST_DIR)/usr/bin/localedef
endef

$(eval $(call AUTOTARGETS,host))