diff options
-rw-r--r-- | user/libodfgen/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libodfgen/APKBUILD b/user/libodfgen/APKBUILD new file mode 100644 index 000000000..64eb49c62 --- /dev/null +++ b/user/libodfgen/APKBUILD @@ -0,0 +1,40 @@ +# 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" |