void-packages/srcpkgs/libcdr/template

32 lines
861 B
Plaintext

# Template file for 'libcdr'
pkgname=libcdr
version=0.1.0
revision=2
build_style=gnu-configure
short_desc="Corel Draw file format importer library"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL/MPL"
makedepends="lcms2-devel icu-devel>=54 librevenge-devel boost-devel"
hostmakedepends="pkg-config"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.bz2"
checksum=ef6c180db88e7024f91a949dd41aeafde0e074008c259ba4c1f8c3eefda48fd0
configure_args="--enable-debug"
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
}
}