summaryrefslogblamecommitdiff
path: root/system/yaml/APKBUILD
blob: 323ac3b40a0e2f56a1040481ff1cf49c89378bfa (plain) (tree)
1
2
3
4
5
6
7

                                                    
            
                                                  
                                     




























                                                               
                                                                                                                                                                
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=yaml
pkgver=0.2.1
pkgrel=0
pkgdesc="YAML 1.1 parser and emitter written in C"
url="https://pyyaml.org/wiki/LibYAML"
arch="all"
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="http://pyyaml.org/download/libyaml/yaml-$pkgver.tar.gz"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="97ebeea2a2c877b24de2e1ffbf175d07d97d5c8b90e06d21fd057e1114d10b96c04fd92c2ed4e956db751b7ac1686b3fd5778927912ca5bb0d096908a1351235  yaml-0.2.1.tar.gz"