void-packages/srcpkgs/facter/template
2016-12-05 22:32:48 +01:00

28 lines
840 B
Bash

# Template file for 'facter'
pkgname=facter
version=3.4.1
revision=5
build_style=cmake
configure_args="-DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"
hostmakedepends="ruby-devel"
makedepends="libressl-devel libcurl-devel libblkid-devel ruby-devel yaml-cpp-devel
boost-devel leatherman cpp-hocon"
depends="ruby net-tools"
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=92d566ba728d24484a12aa9bfdea0ed0f7cfb3b0e04a14bbad705064a2c57bef
post_install() {
vlicense LICENSE
}
facter-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
}
}