leatherman: fix vendor include for catch
This commit is contained in:
parent
4380da59b6
commit
c68be094a4
|
@ -2,6 +2,7 @@
|
||||||
pkgname=leatherman
|
pkgname=leatherman
|
||||||
version=1.12.4
|
version=1.12.4
|
||||||
revision=3
|
revision=3
|
||||||
|
revision=4
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DLEATHERMAN_SHARED=ON"
|
configure_args="-DLEATHERMAN_SHARED=ON"
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
|
@ -27,6 +28,12 @@ do_check() {
|
||||||
ctest -V
|
ctest -V
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
cat <<-'EOF' >"${DESTDIR}/usr/lib/cmake/leatherman/catch.cmake"
|
||||||
|
add_leatherman_includes("${LEATHERMAN_PREFIX}/include/leatherman/vendor")
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
leatherman-devel_package() {
|
leatherman-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Reference in New Issue