1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/cpptest/APKBUILD
2019-01-08 07:57:39 +00:00

30 lines
820 B
Text

# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cpptest
pkgver=2.0.0
pkgrel=1
pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++"
url="https://github.com/cpptest/cpptest"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev"
source="https://github.com/cpptest/cpptest/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
sha512sums="72149e785881b9f2190ff28e74f5edc1056ce1de087fcccf4debbc59818c164907b5374892c7a750552b3c9d25454da0735e3da7902f4e6ef4174bc3b635248c cpptest-2.0.0.tar.gz"