New package: CastXML-0.4.5

This commit is contained in:
Evgeny Ermakov 2022-01-18 03:14:07 +11:00 committed by classabbyamp
parent 98729ba2af
commit 1f2a2367f1
1 changed files with 23 additions and 0 deletions

23
srcpkgs/CastXML/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'CastXML'
pkgname=CastXML
version=0.4.5
revision=1
build_style=cmake
configure_args="-DSPHINX_MAN=YES -DCastXML_INSTALL_MAN_DIR=share/man"
hostmakedepends="clang python3-Sphinx"
makedepends="clang-tools-extra llvm"
depends="clang"
checkdepends="libxml2"
short_desc="C-family abstract syntax tree XML output tool"
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/CastXML/CastXML"
distfiles="https://github.com/CastXML/CastXML/archive/v${version}.tar.gz"
checksum=007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197
post_install() {
rm -r ${DESTDIR}/usr/share/castxml/clang/include
ln -s /usr/lib/clang/$(clang -dumpversion)/include ${DESTDIR}/usr/share/castxml/clang/include
rm ${DESTDIR}/usr/share/doc/castxml/{LICENSE,NOTICE}
}