aboutsummaryrefslogblamecommitdiffstats
path: root/testing/libfyaml/APKBUILD
blob: 2223121107eef71cc462af633a482f690ff9d515 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                         
          








                                                        
                                                                                                         



























                                                                                        
                                                                                                                                                                  
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=libfyaml
pkgver=0.7
pkgrel=0
pkgdesc="Fully feature complete YAML parser and emitter"
url="https://github.com/pantoniou/libfyaml"
arch="all"
license="MIT"
depends="libltdl"
checkdepends="check git"
makedepends="autoconf automake bash libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/pantoniou/libfyaml/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # tests failing, (See: https://github.com/pantoniou/libfyaml/issues/20)

prepare() {
	default_prepare
	./bootstrap.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

check() {
	make check
}

sha512sums="748e483f456ac17765e41f48fe977c99cd16141ac1e146096b67df817b414e00a40dc5fe410fa4a1f31e63cc6f6d839698514980916e84f838dd3e4f1a947221  libfyaml-0.7.tar.gz"