void-packages/srcpkgs/libetonyek/template

36 lines
1005 B
Bash

# Template file for 'libetonyek'
pkgname=libetonyek
version=0.1.7
revision=1
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=69dbe10d4426d52f09060d489f8eb90dfa1df592e82eb0698d9dbaf38cc734ac
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
}
}