24 lines
825 B
Bash
24 lines
825 B
Bash
# Template file for 'CastXML'
|
|
pkgname=CastXML
|
|
version=0.4.6
|
|
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=8dcdbc1f23a130e4bdb0b09f57c30761a02a346b4db4037555048af2a293d66a
|
|
|
|
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}
|
|
}
|