summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeni Dobrev <evgeni_dobrev@developer.bg>2011-07-14 22:27:51 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-14 22:42:12 +0200
commitca0c065cb7f50f7dfbb3f5c02361f5166d4101ee (patch)
tree8e34aa1f49978a2cb2409614d3a47cb9ed3d3aa6
parent8e3bf78a85bc434b92558f1929728ce8e0bbf4f9 (diff)
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 fb5a570c1..db730ece6 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 000000000..00a48b201
--- /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 000000000..563b1ba8a
--- /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))
+