summaryrefslogtreecommitdiff
path: root/user/cppunit
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
commitcb6f083b369ee59de217c0504d471124d533325d (patch)
tree28e404754d754f3a852831d2b649010f70695e01 /user/cppunit
parent7ef2ed32d3d4442463f39d31380cff9432608231 (diff)
parentc5975fc819d7b79180a3627a87974da9d18685e3 (diff)
downloadpackages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz
packages-cb6f083b369ee59de217c0504d471124d533325d.zip
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies I have made a deal with Satan. See merge request !44
Diffstat (limited to 'user/cppunit')
-rw-r--r--user/cppunit/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/cppunit/APKBUILD b/user/cppunit/APKBUILD
new file mode 100644
index 000000000..f334d23f1
--- /dev/null
+++ b/user/cppunit/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=cppunit
+pkgver=1.14.0
+pkgrel=0
+pkgdesc="C++ unit testing framework"
+url="https://www.freedesktop.org/wiki/Software/cppunit/"
+arch="all"
+license="LGPL-2.1+"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dev-www.libreoffice.org/src/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ LIBS="-ldl" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4ea1da423c6f7ab37e4144689f593396829ce74d43872d6b10709c1ad5fbda4ee945842f7e9803592520ef81ac713e95a3fe130295bf048cd32a605d1959882e cppunit-1.14.0.tar.gz"