summaryrefslogtreecommitdiff
path: root/repo/cppunit/cppunit.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/cppunit/cppunit.xibuild')
-rw-r--r--repo/cppunit/cppunit.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/cppunit/cppunit.xibuild b/repo/cppunit/cppunit.xibuild
new file mode 100644
index 0000000..99260b3
--- /dev/null
+++ b/repo/cppunit/cppunit.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="cppunit"
+DESC="C++ unit testing framework"
+
+MAKEDEPS=""
+
+PKG_VER=1.15.1
+SOURCE="https://dev-www.libreoffice.org/src/cppunit-$PKG_VER.tar.gz"
+
+build() {
+ LIBS="-ldl" ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+