void-packages/srcpkgs/libetonyek/template
2016-09-12 15:36:37 +02:00

35 lines
1,006 B
Bash

# Template file for 'libetonyek'
pkgname=libetonyek
version=0.1.6
revision=3
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.bz2"
checksum=032f53e8d7691e48a73ddbe74fa84c906ff6ff32a33e6ee2a935b6fdb6aecb78
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
}
}