blob: 7eeed1f6f32231cd9850b2fa537fdb1adbac43b3 (
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"
makedepends="$depends_dev doxygen librevenge-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-test
make
}
check() {
make -C test launch_all
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="eaf5c6646a9cacf54cb0416b08526f35d18d0618f3f64cf14f4b24537b0285da2786d2f6d6e2c204c8248f900d37287b2c5af79720b0d49452f67b14c86ea36e libodfgen-0.1.7.tar.xz"
|