void-packages/srcpkgs/leatherman/template
2020-05-17 18:43:17 +02:00

28 lines
914 B
Bash

# Template file for 'leatherman'
pkgname=leatherman
version=1.12.0
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=93b9f6889963b98aaf64fa4098b5f3402fed1fe0b8e08ff7bcd3abfb00e5a3aa
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"
}
}