void-packages/srcpkgs/facter/template
Jürgen Buchmüller 77431c4ce8
facter: revbump for cpp-hocon
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-06-22 10:43:28 +02:00

29 lines
855 B
Bash

# Template file for 'facter'
pkgname=facter
version=3.11.2
revision=2
build_style=cmake
configure_args="-DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"
hostmakedepends="ruby-devel"
makedepends="boost-devel cpp-hocon leatherman libblkid-devel libcurl-devel
ruby-devel yaml-cpp-devel"
depends="net-tools ruby"
short_desc="Collect and display system facts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="http://puppetlabs.com/facter"
distfiles="http://downloads.puppetlabs.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=853c6bb4e55302a477d42ac1453be0cf4f99157813271f65b56c5da480cdbe91
post_install() {
vlicense LICENSE
}
facter-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}