aboutsummaryrefslogtreecommitdiffstats
path: root/community/libvisio
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 09:00:53 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-18 12:52:04 +0000
commitec86a49e6a24c25411537fd5d1831b8807316aba (patch)
tree9c62abcc55b17c3843ae722270ddbaa498b339ce /community/libvisio
parent0b7916f7394c9ae3e79eb10a1a8741f9bfc4ed32 (diff)
downloadaports-ec86a49e6a24c25411537fd5d1831b8807316aba.tar.bz2
aports-ec86a49e6a24c25411537fd5d1831b8807316aba.tar.xz
community/libvisio: moved from main
Diffstat (limited to 'community/libvisio')
-rw-r--r--community/libvisio/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/community/libvisio/APKBUILD b/community/libvisio/APKBUILD
new file mode 100644
index 0000000000..bb582c9b05
--- /dev/null
+++ b/community/libvisio/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libvisio
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="Import filter and tools for MS Visio Diagrams"
+url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
+arch="all"
+license="MPL2.0"
+depends=""
+depends_dev="boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev"
+makedepends="$depends_dev doxygen gperf perl"
+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"
+ # boost -1.59
+ export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
+ ./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="691522167fe3b0c94becfe5d957883be libvisio-0.1.5.tar.xz"
+sha256sums="430a067903660bb1b97daf4b045e408a1bb75ca45e615cf05fb1a4da65fc5a8c libvisio-0.1.5.tar.xz"
+sha512sums="094ab546f650840d52fc34c1b105eff139d2f6e4d5cab7c9c99f8387ece0d0c6b02ec1376b3281d56a901bac016c2a024bb708c065b8b5d9404104e6494b5fab libvisio-0.1.5.tar.xz"