void-packages/srcpkgs/leatherman/template
2021-02-09 19:31:39 +01:00

27 lines
929 B
Bash

# Template file for 'leatherman'
pkgname=leatherman
version=1.12.3
revision=1
build_style=cmake
configure_args="-DLEATHERMAN_SHARED=ON"
hostmakedepends="pkg-config python3"
makedepends="boost-devel libcurl-devel"
short_desc="Collection of C++ and CMake utility libraries"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="https://github.com/puppetlabs/leatherman/"
distfiles="https://github.com/puppetlabs/leatherman/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=0d470b6f3240bc605f48631546dd77c814116b1ff6b2a36aa9f395c4a4eab319
python_version=3
CXXFLAGS="-Wno-ignored-qualifiers -Wno-class-memaccess -Wno-catch-value -Wno-deprecated-copy -Wno-type-limits"
leatherman-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}