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>
This commit is contained in:
Robin Holt 2011-06-13 07:14:05 -05:00 committed by Peter Korsgaard
parent 9c6106f104
commit f1ebbb3df9
3 changed files with 25 additions and 0 deletions

View File

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

View File

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

View File

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