19 lines
749 B
Bash
19 lines
749 B
Bash
# Template file for 'leatherman'
|
|
# Note: always revbump cpp-hocon when updating as it links against this static lib
|
|
pkgname=leatherman
|
|
version=1.4.2
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
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=32ccdb21db3ccc326bac255b35fc6c16b2ddbe39bbd5afdddcadc622e2814fc2
|
|
|
|
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
|
|
CXXFLAGS+=" -Wno-ignored-qualifiers -Wno-class-memaccess -Wno-catch-value"
|
|
fi
|