summaryrefslogtreecommitdiff
path: root/user/libpagemaker/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-10 18:32:45 -0400
committerMax Rees <maxcrees@me.com>2018-08-10 18:32:45 -0400
commit3a0666a9fe369e07c6aa96e32c859e385546ed36 (patch)
treeebd5a4f53667fbbcba6638877f40d5fe38599c2d /user/libpagemaker/APKBUILD
parenta26a5eb17548f91158949c7c9ec937ed3f9ab4e4 (diff)
downloadpackages-3a0666a9fe369e07c6aa96e32c859e385546ed36.tar.gz
packages-3a0666a9fe369e07c6aa96e32c859e385546ed36.tar.bz2
packages-3a0666a9fe369e07c6aa96e32c859e385546ed36.tar.xz
packages-3a0666a9fe369e07c6aa96e32c859e385546ed36.zip
user/libpagemaker: pull in, modernize, mark no tests
Diffstat (limited to 'user/libpagemaker/APKBUILD')
-rw-r--r--user/libpagemaker/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libpagemaker/APKBUILD b/user/libpagemaker/APKBUILD
new file mode 100644
index 000000000..d6194da5d
--- /dev/null
+++ b/user/libpagemaker/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libpagemaker
+pkgver=0.0.4
+pkgrel=0
+pkgdesc="Import filter and tools for PageMaker"
+url="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
+arch="all"
+options="!check" # No test suite.
+license="MPL-2.0"
+depends=""
+depends_dev="librevenge-dev"
+makedepends="$depends_dev boost-dev doxygen"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
+source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
+
+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="d9d9436622ae378da2a3c8e50a35b6133582a595c9ff0fe0e3b124fd0b83f1f12afdfc6a27d16b509ca9bab33067215d7300e505d4bf6b280be7e4bf46da6c64 libpagemaker-0.0.4.tar.xz"