28 lines
918 B
Bash
28 lines
918 B
Bash
# Template file for 'leatherman'
|
|
pkgname=leatherman
|
|
version=1.12.4
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
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=00f1b50a7f5f15fcb8dcf0e242f8ada7d31ec78b6093152eee8744e3e284dc28
|
|
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"
|
|
}
|
|
}
|