summaryrefslogtreecommitdiff
path: root/repo/cppunit/cppunit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/cppunit/cppunit.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
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
+}
+