diff options
| author | Pedro Aguilar <paguilar@paguilar.org> | 2014-10-20 00:36:53 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-25 19:29:25 +0200 |
| commit | c2a5b777a5ba923f440a21497a97d32b64f09164 (patch) | |
| tree | 3375e74745962db435ad783c1e3b91baae83ef3a /package/libunistring | |
| parent | c2287b9a3ab5c116a4866b7026d013d48cd61950 (diff) | |
| download | buildroot-c2a5b777a5ba923f440a21497a97d32b64f09164.tar.gz buildroot-c2a5b777a5ba923f440a21497a97d32b64f09164.zip | |
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: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libunistring')
| -rw-r--r-- | package/libunistring/Config.in | 8 | ||||
| -rw-r--r-- | package/libunistring/libunistring.mk | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/package/libunistring/Config.in b/package/libunistring/Config.in new file mode 100644 index 0000000000..ebb37d9794 --- /dev/null +++ b/package/libunistring/Config.in @@ -0,0 +1,8 @@ +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/ diff --git a/package/libunistring/libunistring.mk b/package/libunistring/libunistring.mk new file mode 100644 index 0000000000..3234ddcfa0 --- /dev/null +++ b/package/libunistring/libunistring.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# 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)) |

