Skip to contentSkip to conversation

libcsv: new package

PATCH New Matt Weber 2 participants 2 messages May 1, 2017 – May 2, 2017

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v2 1/1 libcsv: new package

From: David Graziano <[email protected]>

libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data.

---
v1 -> v2
[Thomas P
- Updated to SPDX license identifier
- Removed redundant src archive declaration
- Removed host build as buildroot doesn't have
a dependent package using it
- Added developers file entry

---
 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
DEVELOPERS +4 -0
index 8db6dc8..019e100 100644
@@ -413,6 +413,9 @@ F:	package/openldap/
 N:	David du Colombier <[email protected]>
 F:	package/x264/
 
+N:	David Graziano <[email protected]>
+F:	package/libcsv/
+
 N:	David Lechner <[email protected]>
 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/
package/Config.in +1 -0
index bfcfb73..e3b6682 100644
@@ -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"
package/libcsv/Config.in new file +10 -0
new file mode 100644
index 0000000..eaa6115
@@ -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/
package/libcsv/libcsv.hash new file +2 -0
new file mode 100644
index 0000000..e35c44f
@@ -0,0 +1,2 @@
+#locally computed
+sha256 d9c0431cb803ceb9896ce74f683e6e5a0954e96ae1d9e4028d6e0f967bebd7e4  libcsv-3.0.3.tar.gz
package/libcsv/libcsv.mk new file +13 -0
new file mode 100644
index 0000000..d0ce643
@@ -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))
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 libcsv: new package

Hello,

Quoted 7 lines · Matt Weber

From: David Graziano <[email protected]>

libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data.

Quoted 8 lines

---
v1 -> v2
[Thomas P
- Updated to SPDX license identifier
- Removed redundant src archive declaration
- Removed host build as buildroot doesn't have
a dependent package using it
- Added developers file entry

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com