diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 22:17:47 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-26 23:33:39 -0300 |
commit | 779b6e69c59807ef17381003eea3f6420a9d2071 (patch) | |
tree | 31a8bb3c96d22b1d93bb888630158d5464005b5a /community/librevenge | |
parent | 7743d4435fb8f33557f8ea2e4765126794b1e1e7 (diff) | |
download | aports-779b6e69c59807ef17381003eea3f6420a9d2071.tar.bz2 aports-779b6e69c59807ef17381003eea3f6420a9d2071.tar.xz |
community/librevenge: move from main
Diffstat (limited to 'community/librevenge')
-rw-r--r-- | community/librevenge/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/librevenge/APKBUILD b/community/librevenge/APKBUILD new file mode 100644 index 0000000000..aa49a15b33 --- /dev/null +++ b/community/librevenge/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=librevenge +pkgver=0.0.4 +pkgrel=4 +pkgdesc="Base library for writing document import filters" +url="https://sourceforge.net/projects/libwpd/" +arch="all" +license="MPL-2.0" +depends_dev="boost-dev zlib-dev cppunit-dev" +makedepends="$depends_dev doxygen" +subpackages="$pkgname-dev $pkgname-doc" +source="https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-$pkgver/librevenge-$pkgver.tar.xz" + +build() { + # workaround for boost-1.59 + # http://sourceforge.net/p/libwpd/tickets/6/ + # http://sourceforge.net/p/libwpd/librevenge/ci/0beee70d1bf52f0d81b60ee8c373e477991fe546/ + export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY + + CXXFLAGS="$CXXFLAGS -Wno-error=implicit-fallthrough -Wno-error=parentheses" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --enable-fast-install + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="c4c2c98bac3522c8bd487058f4db19d85ad0d99159c4de4ffde91a10ea3adb7f995ebe8ccf6afcf533d81f50fb654bf265b9cd197508f85b5b68a101ca279712 librevenge-0.0.4.tar.xz" |