void-packages/srcpkgs/leatherman/template

28 lines
914 B
Bash

# Template file for 'leatherman'
pkgname=leatherman
version=1.12.1
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=4713368b76986f7b3218f85da1333c0ebcc4aa2625e39af0374c7b97fe57f6cd
python_version=3
CXXFLAGS+=" -Wno-ignored-qualifiers -Wno-class-memaccess -Wno-catch-value -Wno-deprecated-copy"
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"
}
}