aboutsummaryrefslogtreecommitdiffstats
path: root/community/cpptest/APKBUILD
blob: 102875a44be97c3d29f18d577dbc40cdf54ab362 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cpptest
pkgver=2.0.0
pkgrel=0
pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++"
url="http://cpptest.sourceforge.net/"
arch="all"
license="LGPL"
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"