# Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> setvar pkgname = 'libvisio' setvar pkgver = '0.1.5' setvar pkgrel = '3' setvar pkgdesc = ""Import filter and tools for MS Visio Diagrams"" setvar url = ""https://wiki.documentfoundation.org/DLP/Libraries/libvisio"" setvar arch = ""all"" setvar license = ""MPL2.0"" setvar depends = """" setvar depends_dev = ""boost-dev librevenge-dev icu-dev libwpd-dev libwpg-dev libxml2-dev zlib-dev"" setvar makedepends = ""$depends_dev doxygen gperf perl"" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-tools"" setvar source = ""http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc 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 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } proc tools { mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } setvar md5sums = ""691522167fe3b0c94becfe5d957883be libvisio-0.1.5.tar.xz"" setvar sha256sums = ""430a067903660bb1b97daf4b045e408a1bb75ca45e615cf05fb1a4da65fc5a8c libvisio-0.1.5.tar.xz"" setvar sha512sums = ""094ab546f650840d52fc34c1b105eff139d2f6e4d5cab7c9c99f8387ece0d0c6b02ec1376b3281d56a901bac016c2a024bb708c065b8b5d9404104e6494b5fab libvisio-0.1.5.tar.xz""