summaryrefslogblamecommitdiff
path: root/user/cppunit/APKBUILD
blob: 4efda7916cd23f7273c66c0df9a44fd7ee80b466 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                    
             



                                                        
              


                                                                   










                                           


                  

                                      
                                                                                                                                                                    
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=cppunit
pkgver=1.15.1
pkgrel=0
pkgdesc="C++ unit testing framework"
url="https://www.freedesktop.org/wiki/Software/cppunit/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://dev-www.libreoffice.org/src/$pkgname-$pkgver.tar.gz"

build() {
	LIBS="-ldl" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0feb47faec451357bb4c4e287efa17bb60fd3ad966d5350e9f25b414aaab79e94921024b0c0497672f8d3eeb22a599213d2d71d9e1d28b243b3e37f3a9a43691  cppunit-1.15.1.tar.gz"