aboutsummaryrefslogtreecommitdiffstats
path: root/main/yaml/APKBUILD
blob: 7bb06abe57837f4da7e4d502796f0905dea455d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=yaml
pkgver=0.2.4
pkgrel=1
pkgdesc="YAML 1.1 parser and emitter written in C"
url="https://pyyaml.org/wiki/LibYAML"
arch="all"
license="MIT"
subpackages="$pkgname-static $pkgname-dev"
source="http://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz"

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

check() {
	make check
}

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

sha512sums="8e1d932d9fa80faaa62fa92dc182c9f8d02c7f64057fa63c50c6394b9fd9ceee4037e1df969d681ff770b7435eec6254e88249f2cc7683f91bcbd4415561f4fc  yaml-0.2.4.tar.gz"