summaryrefslogtreecommitdiff
path: root/user/libabw/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-09 02:14:56 -0400
committerMax Rees <maxcrees@me.com>2018-08-09 02:14:56 -0400
commit2b12543d96fd898f6139ed1714ba414818830c9c (patch)
treeea2ce214532c50eec04a30c30b675b3eb6d1787a /user/libabw/APKBUILD
parente1e4cd9282d2cf66c5972626bcb68937d820ccc9 (diff)
downloadpackages-2b12543d96fd898f6139ed1714ba414818830c9c.tar.gz
packages-2b12543d96fd898f6139ed1714ba414818830c9c.tar.bz2
packages-2b12543d96fd898f6139ed1714ba414818830c9c.tar.xz
packages-2b12543d96fd898f6139ed1714ba414818830c9c.zip
user/libabw: pull in
Diffstat (limited to 'user/libabw/APKBUILD')
-rw-r--r--user/libabw/APKBUILD42
1 files changed, 42 insertions, 0 deletions
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 <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+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"