facter: update to 3.12.3.

This commit is contained in:
maxice8 2019-01-16 00:21:47 -02:00 committed by maxice8
parent 041c85895f
commit aa7f9f913e

View file

@ -1,9 +1,10 @@
# Template file for 'facter'
pkgname=facter
version=3.12.2
revision=2
version=3.12.3
revision=1
build_style=cmake
configure_args="-DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"
configure_args="-DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include
-DENABLE_CXX_WERROR=OFF"
hostmakedepends="ruby-devel"
makedepends="boost-devel cpp-hocon leatherman libblkid-devel libcurl-devel
ruby-devel yaml-cpp-devel libblkid-devel"
@ -11,21 +12,16 @@ depends="net-tools ruby"
short_desc="Collect and display system facts"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Apache-2.0"
homepage="http://puppetlabs.com/facter"
distfiles="http://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=3c2cca586b6ecd8313f2c68620d22388871874a0089a8752e4dd8047f3eab50d
homepage="https://puppetlabs.com/facter"
distfiles="https://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=08a49f5b0b66467a42bb01eea4373b276a19d220fb62d9fa1b100661814993b4
CXXFLAGS="-Wno-catch-value -Wno-stringop-truncation"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
mips*) sed -i lib/CMakeLists.txt -e'/add_subdirectory(tests)/d' ;;
esac
}
post_install() {
vlicense LICENSE
}
facter-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"