]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libite: new package
authorRyan Coe <bluemrp9@gmail.com>
Thu, 13 Oct 2016 03:42:45 +0000 (20:42 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 16 Oct 2016 16:04:11 +0000 (18:04 +0200)
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
[Thomas:
 - rewrap Config.in help text
 - improve license description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/libite/Config.in [new file with mode: 0644]
package/libite/libite.hash [new file with mode: 0644]
package/libite/libite.mk [new file with mode: 0644]

index 56813ea3ef937bb9155682c8bae5edbd502d06ac..9399f63b26b36b582354052663c43b204569a233 100644 (file)
@@ -1309,6 +1309,7 @@ menu "Other"
        source "package/libgee/Config.in"
        source "package/libglib2/Config.in"
        source "package/libical/Config.in"
+       source "package/libite/Config.in"
        source "package/liblinear/Config.in"
        source "package/libnspr/Config.in"
        source "package/libpfm4/Config.in"
diff --git a/package/libite/Config.in b/package/libite/Config.in
new file mode 100644 (file)
index 0000000..80d2979
--- /dev/null
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LIBITE
+       bool "libite"
+       help
+         Libite is a lightweight library of frog DNA. It can be used
+         to fill the gaps in any dinosaur project. It holds useful
+         functions and macros developed by both Finit and the OpenBSD
+         project. Most notably the string functions: strlcpy(3),
+         strlcat(3) and the highly useful *BSD sys/queue.h and
+         sys/tree.h API's.
+
+         Libite is the frog DNA missing in GNU libc. However, -lite
+         does not aim to become another GLIB! One noticeable gap in
+         GLIBC is the missing _SAFE macros in the BSD sys/queue.h API
+         - highly recommended when traversing lists to delete/free
+         nodes.
+
+         https://github.com/troglobit/libite
diff --git a/package/libite/libite.hash b/package/libite/libite.hash
new file mode 100644 (file)
index 0000000..67ad009
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b27e4af69e9e5b4d00924538d3a41b53752082cc439b9246edec5501aff2f22f libite-v1.8.2.tar.gz
diff --git a/package/libite/libite.mk b/package/libite/libite.mk
new file mode 100644 (file)
index 0000000..b56c430
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libite
+#
+################################################################################
+
+LIBITE_VERSION = v1.8.2
+LIBITE_SITE = $(call github,troglobit,libite,$(LIBITE_VERSION))
+LIBITE_LICENSE = MIT, X11, ISC, BSD-2c
+LIBITE_LICENSE_FILES = LICENSE chomp.c pidfile.c
+LIBITE_INSTALL_STAGING = YES
+LIBITE_AUTORECONF = YES
+
+$(eval $(autotools-package))