Browse Source

Ports: Add port libyaml version 0.2.5

EWouters 3 years ago
parent
commit
2f8afcccfd
2 changed files with 11 additions and 0 deletions
  1. 1 0
      Ports/AvailablePorts.md
  2. 10 0
      Ports/libyaml/package.sh

+ 1 - 0
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/                                                              |

+ 10 - 0
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
+}