void-packages/srcpkgs/libcdr/template

31 lines
875 B
Bash

# Template file for 'libcdr'
pkgname=libcdr
version=0.1.5
revision=1
build_style=gnu-configure
configure_args="--disable-debug"
hostmakedepends="pkg-config"
makedepends="lcms2-devel icu-devel librevenge-devel boost-devel"
short_desc="Corel Draw file format importer library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
distfiles="http://dev-www.libreoffice.org/src/libcdr/${pkgname}-${version}.tar.bz2"
checksum=5382d25ece9047a9f0ee5f56dc5465b0afddbae5caba68ca7d98632e62b88735
libcdr-devel_package() {
depends="libcdr>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libcdr-tools_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
}
}