void-packages/srcpkgs/libetonyek/template

35 lines
961 B
Bash

# Template file for 'libetonyek'
pkgname=libetonyek
version=0.1.6
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.bz2"
checksum=032f53e8d7691e48a73ddbe74fa84c906ff6ff32a33e6ee2a935b6fdb6aecb78
pre_configure() {
autoreconf -if
}
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
}
}