summaryrefslogtreecommitdiff
path: root/user/libmwaw/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-10 03:04:00 -0400
committerMax Rees <maxcrees@me.com>2018-08-10 03:04:00 -0400
commit167614a118f406dadea6233366a2fdc7f2f67377 (patch)
tree71e26c28fc5111220555348bd2db85747289eac7 /user/libmwaw/APKBUILD
parentff07c88493d997f1908c39849125e7f06526d85b (diff)
downloadpackages-167614a118f406dadea6233366a2fdc7f2f67377.tar.gz
packages-167614a118f406dadea6233366a2fdc7f2f67377.tar.bz2
packages-167614a118f406dadea6233366a2fdc7f2f67377.tar.xz
packages-167614a118f406dadea6233366a2fdc7f2f67377.zip
user/libmwaw: pull in, fix license
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"