summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-04-13 14:42:22 +0200
committerLinus Groh <mail@linusgroh.de>2022-04-13 15:14:50 +0100
commit2f8afcccfd88ec1a47e6b7fc1649a6b1e77f7997 (patch)
tree9e80291644e7a3d679c6039bb1e98db4b00180e1 /Ports
parent4d0315099f4d6e3fa6fb8d87d5aeb37677c6de4a (diff)
downloadserenity-2f8afcccfd88ec1a47e6b7fc1649a6b1e77f7997.zip
Ports: Add port libyaml version 0.2.5
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/libyaml/package.sh10
2 files changed, 11 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 37315f9b9c..3e378c9c23 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -118,6 +118,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libuv`](libuv/) | libuv | 1.44.1 | https://github.com/libuv/libuv |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`libxml2`](libxml2/) | libxml2 | 2.9.13 | http://www.xmlsoft.org/ |
+| [`libyaml`](libyaml/) | libyaml | 0.2.5 | https://pyyaml.org/wiki/LibYAML |
| [`libzip`](libzip/) | libzip | 1.7.3 | https://libzip.org/ |
| [`links`](links/) | Links web browser | 2.25 | http://links.twibright.com/ |
| [`llvm`](llvm/) | LLVM | 13.0.0 | https://llvm.org/ |
diff --git a/Ports/libyaml/package.sh b/Ports/libyaml/package.sh
new file mode 100755
index 0000000000..02fb9f2eb4
--- /dev/null
+++ b/Ports/libyaml/package.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port="libyaml"
+version="0.2.5"
+files="https://github.com/yaml/libyaml/releases/download/${version}/yaml-${version}.tar.gz yaml-${version}.tar.gz fa240dbf262be053f3898006d502d514936c818e422afdcf33921c63bed9bf2e"
+useconfigure="true"
+auth_type="sha256"
+
+pre_configure() {
+ run ./bootstrap
+}