void-packages/srcpkgs/include-what-you-use/template
2020-11-17 04:14:17 +01:00

26 lines
779 B
Bash

# Template file for 'include-what-you-use'
pkgname=include-what-you-use
version=0.14
revision=2
wrksrc="${pkgname}"
build_style=cmake
configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
make_build_args="VERBOSE=1"
makedepends="clang clang-tools-extra llvm ncurses-devel zlib-devel"
short_desc="Analyze #includes in C and C++ source files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="NCSA"
homepage="https://include-what-you-use.org/"
distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
checksum=43184397db57660c32e3298a6b1fd5ab82e808a1f5ab0591d6745f8d256200ef
python_version=3
post_extract() {
for i in ${FILESDIR}/include-what-you-use-*.patch; do
patch -sNp1 -i ${i}
done
}
post_install() {
vlicense LICENSE.TXT
}