summaryrefslogtreecommitdiff
path: root/system/atf/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-19 19:41:03 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-19 20:04:03 -0500
commit7e8a986670ad147bcdb735cf2184357a5e5900b9 (patch)
tree453e0da16664019691829981a098fb4fdf9930ec /system/atf/APKBUILD
parent6af478e4a349c44f6e7991c40bf2fdb8519b9f2b (diff)
downloadpackages-7e8a986670ad147bcdb735cf2184357a5e5900b9.tar.gz
packages-7e8a986670ad147bcdb735cf2184357a5e5900b9.tar.bz2
packages-7e8a986670ad147bcdb735cf2184357a5e5900b9.tar.xz
packages-7e8a986670ad147bcdb735cf2184357a5e5900b9.zip
system/atf: pull in for kyua
Diffstat (limited to 'system/atf/APKBUILD')
-rw-r--r--system/atf/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/system/atf/APKBUILD b/system/atf/APKBUILD
new file mode 100644
index 000000000..921ddf4a2
--- /dev/null
+++ b/system/atf/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=atf
+pkgver=0.21
+pkgrel=1
+pkgdesc="libraries to write tests in C, C++ and shell"
+url="https://github.com/jmmv/atf"
+arch="all"
+license="BSD-2-Clause AND BSD-3-Clause"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/jmmv/atf/releases/download/atf-$pkgver/atf-$pkgver.tar.gz"
+builddir="$srcdir/atf-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1 atf-0.21.tar.gz"