瀏覽代碼

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>
Ryan Coe 8 年之前
父節點
當前提交
878a9892ce
共有 4 個文件被更改,包括 34 次插入0 次删除
  1. 1 0
      package/Config.in
  2. 17 0
      package/libite/Config.in
  3. 2 0
      package/libite/libite.hash
  4. 14 0
      package/libite/libite.mk

+ 1 - 0
package/Config.in

@@ -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"

+ 17 - 0
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

+ 2 - 0
package/libite/libite.hash

@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b27e4af69e9e5b4d00924538d3a41b53752082cc439b9246edec5501aff2f22f libite-v1.8.2.tar.gz

+ 14 - 0
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))