summaryrefslogtreecommitdiff
path: root/user/libmwaw/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
commitcb6f083b369ee59de217c0504d471124d533325d (patch)
tree28e404754d754f3a852831d2b649010f70695e01 /user/libmwaw/APKBUILD
parent7ef2ed32d3d4442463f39d31380cff9432608231 (diff)
parentc5975fc819d7b79180a3627a87974da9d18685e3 (diff)
downloadpackages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz
packages-cb6f083b369ee59de217c0504d471124d533325d.zip
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies I have made a deal with Satan. See merge request !44
Diffstat (limited to 'user/libmwaw/APKBUILD')
-rw-r--r--user/libmwaw/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libmwaw/APKBUILD b/user/libmwaw/APKBUILD
new file mode 100644
index 000000000..0ab2b30bc
--- /dev/null
+++ b/user/libmwaw/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libmwaw
+pkgver=0.3.14
+pkgrel=0
+pkgdesc="Import filter and tools for old Mac documents"
+url="https://sourceforge.net/projects/libmwaw/"
+arch="all"
+options="!check" # No test suite.
+license="MPL-2.0 OR LGPL-2.0+"
+depends=""
+depends_dev="boost-dev attr-dev zlib-dev"
+makedepends="$depends_dev librevenge-dev doxygen"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
+
+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="72d4a1132d96c99518c63b441abd13c239e3f71987ca487c24f3f2c8e72aff24b7c8d6edd6ea1b07d998ecd9003a8f85ef95553a325f7cd8721ddf4e17020ad5 libmwaw-0.3.14.tar.bz2"