summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeni Dobrev <evgeni_dobrev@developer.bg>2011-07-14 20:27:51 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-14 20:42:12 (GMT)
commitca0c065cb7f50f7dfbb3f5c02361f5166d4101ee (patch)
tree8e34aa1f49978a2cb2409614d3a47cb9ed3d3aa6
parent8e3bf78a85bc434b92558f1929728ce8e0bbf4f9 (diff)
downloadbuildroot-ca0c065cb7f50f7dfbb3f5c02361f5166d4101ee.tar.gz
buildroot-ca0c065cb7f50f7dfbb3f5c02361f5166d4101ee.tar.bz2
package: add libyaml
YAML 1.1 parser and emitter written in C Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/libyaml/Config.in6
-rw-r--r--package/libyaml/libyaml.mk12
3 files changed, 19 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index fb5a570..db730ec 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -367,6 +367,7 @@ source "package/libroxml/Config.in"
source "package/libxml-parser-perl/Config.in"
source "package/libxml2/Config.in"
source "package/libxslt/Config.in"
+source "package/libyaml/Config.in"
source "package/mxml/Config.in"
source "package/xerces/Config.in"
source "package/yajl/Config.in"
diff --git a/package/libyaml/Config.in b/package/libyaml/Config.in
new file mode 100644
index 0000000..00a48b2
--- /dev/null
+++ b/package/libyaml/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBYAML
+ bool "libyaml"
+ help
+ LibYAML is a YAML 1.1 parser and emitter written in C.
+
+ http://pyyaml.org/wiki/LibYAML
diff --git a/package/libyaml/libyaml.mk b/package/libyaml/libyaml.mk
new file mode 100644
index 0000000..563b1ba
--- /dev/null
+++ b/package/libyaml/libyaml.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libyaml
+#
+#############################################################
+LIBYAML_VERSION = 0.1.4
+LIBYAML_SOURCE = yaml-$(LIBYAML_VERSION).tar.gz
+LIBYAML_SITE = http://pyyaml.org/download/libyaml/
+LIBYAML_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,libyaml))
+