void-packages/srcpkgs/kdoctools/template

31 lines
1.1 KiB
Bash
Raw Normal View History

2016-10-13 12:11:43 +02:00
# Template file for 'kdoctools'
pkgname=kdoctools
2016-12-07 06:42:30 +01:00
version=5.29.0
2017-01-23 20:06:23 +01:00
revision=2
2016-10-13 12:11:43 +02:00
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
2017-01-23 20:06:23 +01:00
hostmakedepends="extra-cmake-modules perl perl-URI"
makedepends="ki18n-devel karchive-devel libxml2-devel libxslt-devel docbook-xml docbook-xsl"
2016-10-13 12:11:43 +02:00
depends="docbook-xml docbook-xsl"
short_desc="KDE Create documentation from DocBook"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdoctools"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
2016-12-07 06:42:30 +01:00
checksum=60badcc58d9d79514fdc1061704e7999021d5cfcdb2b1201ad846f2508fba37d
2016-10-13 12:11:43 +02:00
2017-01-23 20:06:23 +01:00
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools-devel"
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5 -DCHECKXML5_EXECUTABLE=/usr/bin/checkXML5 -DDOCBOOKL10NHELPER_EXECUTABLE=/usr/bin/docbookl10nhelper"
fi
2016-10-13 12:11:43 +02:00
kdoctools-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
vmove usr/lib/*.a
2017-01-23 20:06:23 +01:00
vbin build/src/docbookl10nhelper
2016-10-13 12:11:43 +02:00
}
}