Commit c2a5b777 authored by Pedro Aguilar's avatar Pedro Aguilar Committed by Thomas Petazzoni
Browse files

libunistring: new package



[Thomas:
  - adjust the title of the commit
  - remove the thread dependency, by using the --disable-threads
    option when needed
  - remove LIBUNISTRING_SOURCE, since its value was the default
  - use BR2_GNU_MIRROR in LIBUNISTRING_SITE
  - adjust the license, which really is LGPLv3+, not LGPLv2. The
    license file is COPYING.LIB.]

Signed-off-by: default avatarPedro Aguilar <paguilar@paguilar.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent c2287b9a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -907,6 +907,7 @@ menu "Other"
	source "package/startup-notification/Config.in"
	source "package/tz/Config.in"
	source "package/tzdata/Config.in"
	source "package/libunistring/Config.in"
endmenu

menu "Security"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBUNISTRING
	bool "libunistring"
	help
	  The libunistring library provides functions for manipulating
	  Unicode strings and for manipulating C strings according to
	  the Unicode standard.

	  http://www.gnu.org/software/libunistring/
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# libunistring
#
################################################################################

LIBUNISTRING_VERSION = 0.9.4
LIBUNISTRING_SITE = $(BR2_GNU_MIRROR)/libunistring
LIBUNISTRING_INSTALL_STAGING = YES
LIBUNISTRING_LICENSE = LGPLv3+
LIBUNISTRING_LICENSE_FILES = COPYING.LIB

ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBUNISTRING_CONF_OPTS += --enable-threads=posix
else
LIBUNISTRING_CONF_OPTS += --disable-threads
endif

$(eval $(autotools-package))