void-packages/srcpkgs/libmspub/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

30 lines
836 B
Bash

# Template file for 'libmspub'
pkgname=libmspub
version=0.1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="icu-devel boost-devel librevenge-devel zlib-devel"
short_desc="Library for parsing the mspub file structure"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libmspub/commit/"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.bz2"
checksum=26d488527ffbb0b41686d4bab756e3e6aaeb99f88adeb169d0c16d2cde96859a
libmspub-devel_package() {
depends="libmspub>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libmspub-tools_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
}
}