From b3893202986a6718cd1cddcf6ffcff0191dbc945 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 11 Mar 2019 13:04:51 +0000 Subject: user/unittest-cpp: new package --- user/unittest-cpp/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/unittest-cpp/APKBUILD (limited to 'user') diff --git a/user/unittest-cpp/APKBUILD b/user/unittest-cpp/APKBUILD new file mode 100644 index 000000000..62a54662c --- /dev/null +++ b/user/unittest-cpp/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=unittest-cpp +pkgver=2.0.0 +pkgrel=0 +pkgdesc="Lightweight unit testing framework for C++" +url=" " +arch="all" +license="MIT" +depends="" +makedepends="" +subpackages="$pkgname-dev" +source="https://github.com/unittest-cpp/unittest-cpp/releases/download/v$pkgver/unittest-cpp-$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="51b37055dbe2a8772a59047f900202332b75be8801af94496848503c6b652d34f5e2a62c92555d492e2265d35fc6befb5bd4209364f7a4e7c9f2f5988537fae6 unittest-cpp-2.0.0.tar.gz" -- cgit v1.2.3-70-g09d2