void-packages/srcpkgs/libetonyek/template
Jürgen Buchmüller 4d9d9c70f7 libetonyek: look for mdds-1.2.pc
Since mdds was upgraded to 1.2.1, the pkconfig file name in configure
needs to be patched to mdds-1.2 as well.
2016-06-24 14:42:55 +02:00

35 lines
1,006 B
Bash

# Template file for 'libetonyek'
pkgname=libetonyek
version=0.1.6
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.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
}
}