summaryrefslogtreecommitdiff
path: root/repo/cppunit/cppunit.xibuild
blob: 99260b38dbea9b01ccd880a1c0b57b0753c60c3b (plain)
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
#!/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
}