Message ID | 1413758213-30044-1-git-send-email-paguilar@paguilar.org |
---|---|
State | Accepted |
Headers | show |
Dear Pedro Aguilar, On Mon, 20 Oct 2014 00:36:53 +0200, Pedro Aguilar wrote: > Signed-off-by: Pedro Aguilar <paguilar@paguilar.org> > --- > package/Config.in | 1 + > package/libunistring/Config.in | 12 ++++++++++++ > package/libunistring/libunistring.mk | 14 ++++++++++++++ > 3 files changed, 27 insertions(+) > create mode 100644 package/libunistring/Config.in > create mode 100644 package/libunistring/libunistring.mk Thanks, applied, after doing a few modifications: [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.] Thomas
diff --git a/package/Config.in b/package/Config.in index 89b46dc..5a9c598 100644 --- a/package/Config.in +++ b/package/Config.in @@ -902,6 +902,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" diff --git a/package/libunistring/Config.in b/package/libunistring/Config.in new file mode 100644 index 0000000..e0f524b --- /dev/null +++ b/package/libunistring/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBUNISTRING + bool "libunistring" + depends on BR2_TOOLCHAIN_HAS_THREADS + 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/ + +comment "libunistring needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libunistring/libunistring.mk b/package/libunistring/libunistring.mk new file mode 100644 index 0000000..5bf75fe --- /dev/null +++ b/package/libunistring/libunistring.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libunistring +# +################################################################################ + +LIBUNISTRING_VERSION = 0.9.4 +LIBUNISTRING_SOURCE = libunistring-$(LIBUNISTRING_VERSION).tar.gz +LIBUNISTRING_SITE = http://ftp.gnu.org/gnu/libunistring +LIBUNISTRING_INSTALL_STAGING = YES +LIBUNISTRING_LICENSE = LGPLv2 +LIBUNISTRING_LICENSE_FILES = LICENSE + +$(eval $(autotools-package))
Signed-off-by: Pedro Aguilar <paguilar@paguilar.org> --- package/Config.in | 1 + package/libunistring/Config.in | 12 ++++++++++++ package/libunistring/libunistring.mk | 14 ++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/libunistring/Config.in create mode 100644 package/libunistring/libunistring.mk