summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-02-03 07:20:45 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-02-03 17:29:17 +0000
commit114dce15dddc7508e0f51de914837ec9a781c022 (patch)
treefbb9a8e6c551fbe5a3b21138f5c8473da539371e /testing
parent0d2d35686119922bdb2941de88000d78a5892830 (diff)
downloadaports-114dce15dddc7508e0f51de914837ec9a781c022.tar.bz2
aports-114dce15dddc7508e0f51de914837ec9a781c022.tar.xz
testing/libmwaw: new aport
Import filter and tools for old Mac documents http://sourceforge.net/projects/libmwaw/
Diffstat (limited to 'testing')
-rw-r--r--testing/libmwaw/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/libmwaw/APKBUILD b/testing/libmwaw/APKBUILD
new file mode 100644
index 000000000..f52d97082
--- /dev/null
+++ b/testing/libmwaw/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libmwaw
+pkgver=0.3.4
+pkgrel=0
+pkgdesc="Import filter and tools for old Mac documents"
+url="http://sourceforge.net/projects/libmwaw/"
+arch="all"
+license="MPL2"
+depends=""
+depends_dev="boost-dev librevenge-dev attr-dev zlib-dev"
+makedepends="$depends_dev doxygen"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-$pkgver/libmwaw-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/libmwaw-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+tools() {
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+md5sums="edb8a92a4b6746efbd45bde5006f71b9 libmwaw-0.3.4.tar.bz2"
+sha256sums="444e15e3e60e9fcc7d859b201571d9612a5347cefd6e753ce4710f638514da67 libmwaw-0.3.4.tar.bz2"
+sha512sums="490780b6a6132d6333eb83fad13b044288fee9d82e4c76b9be8b40dd5da232210479f6e6b7fff8b080b405a2c16eb2264bee818ff4d3b03bbc7ae90e346e1819 libmwaw-0.3.4.tar.bz2"