void-packages/srcpkgs/libcdr/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

31 lines
857 B
Bash

# Template file for 'libcdr'
pkgname=libcdr
version=0.1.1
revision=1
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 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=72fe7bbbf2275242acdf67ad2f9b6c71ac9146a56c409def360dabcac5695b49
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
}
}