aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libpagemaker
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-02-03 07:38:36 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-02-03 17:29:17 +0000
commit4a28b634e9fdf94b90716a314f76c3e6c98a2772 (patch)
treee28a87b6b3c1dac6d327a574ffb33fac0b337126 /testing/libpagemaker
parent47b2fffdc6375b05ad00587723e62ad4fe77d051 (diff)
downloadaports-4a28b634e9fdf94b90716a314f76c3e6c98a2772.tar.bz2
aports-4a28b634e9fdf94b90716a314f76c3e6c98a2772.tar.xz
testing/libpagemaker: new aport
Import filter and tools for PageMaker https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker
Diffstat (limited to 'testing/libpagemaker')
-rw-r--r--testing/libpagemaker/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/libpagemaker/APKBUILD b/testing/libpagemaker/APKBUILD
new file mode 100644
index 0000000000..6d47453199
--- /dev/null
+++ b/testing/libpagemaker/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libpagemaker
+pkgver=0.0.2
+pkgrel=0
+pkgdesc="Import filter and tools for PageMaker"
+url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
+arch="all"
+license="MPL2"
+depends=""
+depends_dev="boost-dev librevenge-dev"
+makedepends="$depends_dev doxygen"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$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="1e6fec3e30f4f47c4c2619ee232dec04 libpagemaker-0.0.2.tar.xz"
+sha256sums="cdbdf86605773339caab6477ff694a95a90aaa4d45bb6cdb59e4a7f76c91ef17 libpagemaker-0.0.2.tar.xz"
+sha512sums="70dcac28c862b0d713a356cc27f1da4ab08e91886942e0c2d2265acf9ce1d596266aadd49d5e23f9da4a4d1b3e1a97272aadcc5721af4daa84e38bc499752ac7 libpagemaker-0.0.2.tar.xz"