Skip to content
Snippets Groups Projects
Commit 0c035576 authored by Max Rees's avatar Max Rees
Browse files

user/libodfgen: pull in, upgrade, add tests, fix license

parent 167614a1
No related branches found
No related tags found
1 merge request!44LibreOffice and dependencies
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment