From 2b12543d96fd898f6139ed1714ba414818830c9c Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 9 Aug 2018 02:14:56 -0400 Subject: user/libabw: pull in --- user/libabw/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 user/libabw/APKBUILD (limited to 'user/libabw') diff --git a/user/libabw/APKBUILD b/user/libabw/APKBUILD new file mode 100644 index 000000000..0bb3a9494 --- /dev/null +++ b/user/libabw/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Timo Teräs +# Maintainer: Max Rees +pkgname=libabw +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Import filter and tools for AbiWord documents" +url="https://wiki.documentfoundation.org/DLP/Libraries/libabw" +arch="all" +options="!check" # No test suite. +license="MPL-2.0" +depends="" +depends_dev="librevenge-dev libxml2-dev zlib-dev boost-dev" +makedepends="$depends_dev doxygen gperf perl" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="http://dev-www.libreoffice.org/src/$pkgname/$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 \ + --disable-werror + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +tools() { + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr +} + +sha512sums="a365c1aa047a97a86eee6bce8463646bdf248a51013139ee288402a832fd545586e072d7c7fc11a56f42e3637de9e922197be20d0587e53c51fd80ced409a6cd libabw-0.1.2.tar.xz" -- cgit v1.2.3-70-g09d2