new blfs: dev-libs/libyaml-0.2.5

This commit is contained in:
2026-01-02 00:11:08 -05:00
parent b95713bda9
commit 47dce8e379

View File

@@ -0,0 +1,30 @@
pkgname=libyaml
pkgver=0.2.5
pkgdesc="YAML 1.1 library"
arch=('x86_64')
homepage="https://pyyaml.org/wiki/LibYAML"
license=('MIT')
depends=('glibc')
sources=("yaml-${pkgver}.tar.gz")
urls=("https://github.com/yaml/libyaml/releases/download/${pkgver}/${sources[0]}")
md5sums=("bb15429d8fb787e7d3f1c83ae129a999")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr --disable-static
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="$pkgdir" install
install -Dm644 License -t "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:ft=sh syn=sh et sw=2: