void-packages/srcpkgs/libcdr/template

32 lines
875 B
Bash

# Template file for 'libcdr'
pkgname=libcdr
version=0.1.7
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=ae613caeb7e0e539cbc1b08ea5169bddaed8d2021d25ef66b39ddc0aa72c2902
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
}
}