diff options
-rw-r--r-- | user/libmwaw/APKBUILD | 41 |
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" |