summaryrefslogtreecommitdiff
path: root/package/libite
diff options
context:
space:
mode:
authorRyan Coe <bluemrp9@gmail.com>2016-10-12 20:42:45 -0700
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-16 18:04:11 +0200
commit878a9892ceb52d665e6cceca75304a72d2705de1 (patch)
tree41cef3b111b7418fdc7c85fa075ca6e4742f12d1 /package/libite
parent15c950731d6cd950bd74748ed121a994d65305f0 (diff)
libite: new package
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>
Diffstat (limited to 'package/libite')
-rw-r--r--package/libite/Config.in17
-rw-r--r--package/libite/libite.hash2
-rw-r--r--package/libite/libite.mk14
3 files changed, 33 insertions, 0 deletions
diff --git a/package/libite/Config.in b/package/libite/Config.in
new file mode 100644
index 000000000..80d29791d
--- /dev/null
+++ b/package/libite/Config.in
@@ -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
index 000000000..67ad009bf
--- /dev/null
+++ b/package/libite/libite.hash
@@ -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
index 000000000..b56c430b0
--- /dev/null
+++ b/package/libite/libite.mk
@@ -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))