libcsv: new package
authorDavid Graziano <david.graziano@rockwellcollins.com>
Mon, 1 May 2017 23:11:40 +0000 (18:11 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 May 2017 20:35:51 +0000 (22:35 +0200)
libcsv is a small, simple and fast CSV library written in pure
ANSI C89 that can read and write CSV data.

Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/libcsv/Config.in [new file with mode: 0644]
package/libcsv/libcsv.hash [new file with mode: 0644]
package/libcsv/libcsv.mk [new file with mode: 0644]

index 8db6dc82a613d31e4907c9af8db9beed79db3999..019e100e47910cbcc8e879ef6fc118992d6d3a37 100644 (file)
@@ -413,6 +413,9 @@ F:  package/openldap/
 N:     David du Colombier <0intro@gmail.com>
 F:     package/x264/
 
+N:     David Graziano <david.graziano@rockwellcollins.com>
+F:     package/libcsv/
+
 N:     David Lechner <david@lechnology.com>
 F:     board/lego/ev3/
 F:     configs/lego_ev3_defconfig
@@ -1067,6 +1070,7 @@ F:        package/fmc/
 F:     package/fmlib/
 F:     package/igmpproxy/
 F:     package/iputils/
+F:     package/libcsv/
 F:     package/omniorb/
 F:     package/python-ipy/
 F:     package/python-posix-ipc/
index bfcfb7343c02a021cfb719319b82beb634e6bbe1..e3b6682c17078c5103dcea9793235c5203591c57 100644 (file)
@@ -1367,6 +1367,7 @@ menu "Other"
        source "package/libcofi/Config.in"
        source "package/libcroco/Config.in"
        source "package/libcrossguid/Config.in"
+       source "package/libcsv/Config.in"
        source "package/libdaemon/Config.in"
        source "package/libee/Config.in"
        source "package/libev/Config.in"
diff --git a/package/libcsv/Config.in b/package/libcsv/Config.in
new file mode 100644 (file)
index 0000000..797c735
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCSV
+       bool "libcsv"
+       help
+         libcsv is a small, simple and fast CSV library written in
+         pure ANSI C89 that can read and write CSV data. It provides
+         a straight-forward interface using callback functions to
+         handle parsed fields and rows and can parse improperly
+         formatted CSV files.
+
+         https://sourceforge.net/projects/libcsv/
diff --git a/package/libcsv/libcsv.hash b/package/libcsv/libcsv.hash
new file mode 100644 (file)
index 0000000..e35c44f
--- /dev/null
@@ -0,0 +1,2 @@
+#locally computed
+sha256 d9c0431cb803ceb9896ce74f683e6e5a0954e96ae1d9e4028d6e0f967bebd7e4  libcsv-3.0.3.tar.gz
diff --git a/package/libcsv/libcsv.mk b/package/libcsv/libcsv.mk
new file mode 100644 (file)
index 0000000..d0ce643
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libcsv
+#
+################################################################################
+
+LIBCSV_VERSION = 3.0.3
+LIBCSV_SITE = http://sourceforge.net/projects/libcsv/files
+LIBCSV_LICENSE = LGPL-2.1+
+LIBCSV_LICENSE_FILES = COPYING.LESSER
+LIBCSV_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))