diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-11 13:04:51 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-11 13:04:51 +0000 |
commit | b3893202986a6718cd1cddcf6ffcff0191dbc945 (patch) | |
tree | 81cb0fcedbab5750772bf6a9500b586e5944de2d | |
parent | 9a821e4db61e9f5635c8d2db1aeecf0b15c250df (diff) | |
download | packages-b3893202986a6718cd1cddcf6ffcff0191dbc945.tar.gz packages-b3893202986a6718cd1cddcf6ffcff0191dbc945.tar.bz2 packages-b3893202986a6718cd1cddcf6ffcff0191dbc945.tar.xz packages-b3893202986a6718cd1cddcf6ffcff0191dbc945.zip |
user/unittest-cpp: new package
-rw-r--r-- | user/unittest-cpp/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |