aboutsummaryrefslogtreecommitdiffstats
path: root/main/atf
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-01-23 13:59:44 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2017-01-23 13:59:44 -0600
commit6ef936d15b74028221abedd4f3da190734b827ed (patch)
treef636eaa4a27e1d3e8e9fbfd69e08da9ab2e3e747 /main/atf
parenta7b18532b96e1de59a02b9545655b3b0677fad7b (diff)
downloadaports-6ef936d15b74028221abedd4f3da190734b827ed.tar.bz2
aports-6ef936d15b74028221abedd4f3da190734b827ed.tar.xz
main/atf: new package (used for pkgconf tests)
Diffstat (limited to 'main/atf')
-rw-r--r--main/atf/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/atf/APKBUILD b/main/atf/APKBUILD
new file mode 100644
index 0000000000..9adaa188f3
--- /dev/null
+++ b/main/atf/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=atf
+pkgver=0.21
+pkgrel=0
+pkgdesc="libraries to write tests in C, C++ and shell"
+url="https://github.com/jmmv/atf"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+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 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="becb36c1885b02c5f8316a672b10688a atf-0.21.tar.gz"
+sha256sums="92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505 atf-0.21.tar.gz"
+sha512sums="9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1 atf-0.21.tar.gz"