aboutsummaryrefslogtreecommitdiffstats
path: root/community/libpagemaker
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 08:59:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 12:52:04 +0000
commit0b7916f7394c9ae3e79eb10a1a8741f9bfc4ed32 (patch)
tree236b7d525d9f3641059c3c0f5704fae9dba44076 /community/libpagemaker
parent24cb1631b1a8eb48ae3c91fbf6c85aa290f1b7bd (diff)
downloadaports-0b7916f7394c9ae3e79eb10a1a8741f9bfc4ed32.tar.bz2
aports-0b7916f7394c9ae3e79eb10a1a8741f9bfc4ed32.tar.xz
community/libpagemaker: moved from main
Diffstat (limited to 'community/libpagemaker')
-rw-r--r--community/libpagemaker/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/libpagemaker/APKBUILD b/community/libpagemaker/APKBUILD
new file mode 100644
index 0000000000..0d89638f5e
--- /dev/null
+++ b/community/libpagemaker/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libpagemaker
+pkgver=0.0.3
+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
+
+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
+}
+
+tools() {
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+md5sums="9f377b0690fa6e96a94bb309509860e9 libpagemaker-0.0.3.tar.xz"
+sha256sums="d896dc55dafd84ee3441e0ca497b810809f9eea44805a495c3843412309036d6 libpagemaker-0.0.3.tar.xz"
+sha512sums="f9a5cb8b2cdfaf550002d5d078eb79537ed29614a2433f8d41101f1e35e9536cbb324c1d96328d21e2d2e0f21ff58d807813e51f8c660b199843fc8710ae29e0 libpagemaker-0.0.3.tar.xz"