From cf9a5c729f40762ae8126143ddfd8604d438e658 Mon Sep 17 00:00:00 2001 From: David Graziano Date: Mon, 1 May 2017 18:11:40 -0500 Subject: [PATCH] libcsv: new package 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 Signed-off-by: Matt Weber Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 4 ++++ package/Config.in | 1 + package/libcsv/Config.in | 10 ++++++++++ package/libcsv/libcsv.hash | 2 ++ package/libcsv/libcsv.mk | 13 +++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/libcsv/Config.in create mode 100644 package/libcsv/libcsv.hash create mode 100644 package/libcsv/libcsv.mk diff --git a/DEVELOPERS b/DEVELOPERS index 8db6dc82a6..019e100e47 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -413,6 +413,9 @@ F: package/openldap/ N: David du Colombier <0intro@gmail.com> F: package/x264/ +N: David Graziano +F: package/libcsv/ + N: David Lechner 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/ diff --git a/package/Config.in b/package/Config.in index bfcfb7343c..e3b6682c17 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..797c735bf5 --- /dev/null +++ b/package/libcsv/Config.in @@ -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 index 0000000000..e35c44f9b3 --- /dev/null +++ b/package/libcsv/libcsv.hash @@ -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 index 0000000000..d0ce643368 --- /dev/null +++ b/package/libcsv/libcsv.mk @@ -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)) -- 2.30.2