void-packages/srcpkgs/libcdr/template
2020-04-22 14:12:58 +02:00

31 lines
875 B
Bash

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