summaryrefslogblamecommitdiff
path: root/user/libodfgen/APKBUILD
blob: 64eb49c62aea644d807781665a74355275f1ee03 (plain) (tree)







































                                                                                                                                                                     
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libodfgen
pkgver=0.1.7
pkgrel=0
pkgdesc="Export filter and tools for Open Document Format"
url="https://sourceforge.net/p/libwpd/wiki/libodfgen/"
arch="all"
license="MPL-2.0 OR LGPL-2.1+"
depends=""
depends_dev="boost-dev librevenge-dev"
makedepends="$depends_dev doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"

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

check() {
	cd "$builddir/test"
	make launch_all
}

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

sha512sums="eaf5c6646a9cacf54cb0416b08526f35d18d0618f3f64cf14f4b24537b0285da2786d2f6d6e2c204c8248f900d37287b2c5af79720b0d49452f67b14c86ea36e  libodfgen-0.1.7.tar.xz"