diff options
author | Max Rees <maxcrees@me.com> | 2018-08-10 03:29:17 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-10 03:29:17 -0400 |
commit | 0c035576368b66f48586ab11caac3c92ca8adb61 (patch) | |
tree | 197694badf2ca82b6f02ef4ece68ae992087c6b7 /user | |
parent | 167614a118f406dadea6233366a2fdc7f2f67377 (diff) | |
download | packages-0c035576368b66f48586ab11caac3c92ca8adb61.tar.gz packages-0c035576368b66f48586ab11caac3c92ca8adb61.tar.bz2 packages-0c035576368b66f48586ab11caac3c92ca8adb61.tar.xz packages-0c035576368b66f48586ab11caac3c92ca8adb61.zip |
user/libodfgen: pull in, upgrade, add tests, fix license
Diffstat (limited to 'user')
-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" |