summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Holt <holt@sgi.com>2011-06-13 12:14:05 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-12 20:49:07 (GMT)
commitf1ebbb3df9d6ec1405e19244c81ca4c852bf3c34 (patch)
treecd970f92a00e4944f2354c4d9d87cfcd50891207
parent9c6106f10494e539f00b1fc117801171348bd4bd (diff)
downloadbuildroot-f1ebbb3df9d6ec1405e19244c81ca4c852bf3c34.tar.gz
buildroot-f1ebbb3df9d6ec1405e19244c81ca4c852bf3c34.tar.bz2
package: add libargtable2
The argtable2 sourceforge project provides easy parsing of command line options and file contents. [Peter: Misc cleanup/fixes] Signed-off-by: Robin Holt <holt@sgi.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/libargtable2/Config.in7
-rw-r--r--package/libargtable2/libargtable2.mk17
3 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index aef701d..55ea343 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -333,6 +333,7 @@ source "package/libupnp/Config.in"
endmenu
menu "Other"
+source "package/libargtable2/Config.in"
source "package/argp-standalone/Config.in"
source "package/libatomic_ops/Config.in"
source "package/libcap/Config.in"
diff --git a/package/libargtable2/Config.in b/package/libargtable2/Config.in
new file mode 100644
index 0000000..42d067b
--- /dev/null
+++ b/package/libargtable2/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBARGTABLE2
+ bool "libargtable2"
+ help
+ A greatly simplified and yet quite robust argument parsing
+ set of library calls.
+
+ http://argtable.sourceforge.net/
diff --git a/package/libargtable2/libargtable2.mk b/package/libargtable2/libargtable2.mk
new file mode 100644
index 0000000..57eb629
--- /dev/null
+++ b/package/libargtable2/libargtable2.mk
@@ -0,0 +1,17 @@
+#############################################################
+#
+# libargtable2
+#
+#############################################################
+
+LIBARGTABLE2_VERSION = 13
+LIBARGTABLE2_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/argtable/
+
+LIBARGTABLE2_INSTALL_STAGING = YES
+LIBARGTABLE2_CONF_OPT= --program-prefix="" \
+ --disable-example \
+ --disable-kernel-module \
+ --enable-lib \
+ --enable-util
+
+$(eval $(call AUTOTARGETS,package,libargtable2))