mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
37 lines
827 B
Text
37 lines
827 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=cppunit
|
|
pkgver=1.15.1
|
|
pkgrel=4
|
|
pkgdesc="C++ unit testing framework"
|
|
url="https://www.freedesktop.org/wiki/Software/cppunit/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://dev-www.libreoffice.org/src/cppunit-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
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"
|