From b34e6fe698af4901a2a662cc0ce671afa755e121 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 24 Jun 2018 01:37:19 -0500 Subject: system/yaml: pull in for ruby --- system/yaml/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 system/yaml/APKBUILD (limited to 'system') diff --git a/system/yaml/APKBUILD b/system/yaml/APKBUILD new file mode 100644 index 000000000..5499c5e51 --- /dev/null +++ b/system/yaml/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Natanael Copa +# Maintainer: A. Wilcox +pkgname=yaml +pkgver=0.1.7 +pkgrel=0 +pkgdesc="YAML 1.1 parser and emitter written in C" +url="http://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="1ee5007dd10db137b5ee80f8117f07390ec04af98d087a5f5475dd2b38d87c699b79ab1676e6c7bfa263323fcdf8edd69fada2b0b7f9c57bef4e46cd65f1e975 yaml-0.1.7.tar.gz" -- cgit v1.2.3-70-g09d2