void-packages/srcpkgs/libetonyek/template
2018-07-21 18:26:48 +02:00

35 lines
1,005 B
Bash

# Template file for 'libetonyek'
pkgname=libetonyek
version=0.1.8
revision=2
build_style=gnu-configure
short_desc="Library to interpret and import Apple Keynote presentations"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL"
makedepends="libxml2-devel boost-devel libcppunit-devel librevenge-devel glm mdds liblangtag-devel"
hostmakedepends="automake libtool gperf pkg-config"
homepage="http://www.freedesktop.org/wiki/Software/libetonyek/"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz"
checksum=9dc92347aee0cc9ed57b175a3e21f9d96ebe55d30fecb10e841d1050794ed82d
pre_configure() {
autoreconf -if
sed -i configure -e "s;mdds-1.0;mdds-1.2;g"
}
libetonyek-devel_package() {
depends="libetonyek>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libetonyek-tools_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
}
}