void-packages/srcpkgs/facter/template

28 lines
824 B
Bash
Raw Normal View History

2014-11-25 18:17:11 +01:00
# Template file for 'facter'
pkgname=facter
2015-07-29 09:57:35 +02:00
version=3.0.2
2015-08-06 15:15:38 +02:00
revision=2
2015-07-29 09:57:35 +02:00
build_style=cmake
configure_args="-DRUBY_CONFIG_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include"
hostmakedepends="cmake ruby-devel"
makedepends="libressl-devel libcurl-devel libblkid-devel ruby-devel yaml-cpp-devel boost-devel"
2014-11-25 18:17:11 +01:00
depends="ruby net-tools"
short_desc="Collect and display system facts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-11-25 18:17:11 +01:00
license="Apache-2.0"
homepage="http://puppetlabs.com/facter"
distfiles="http://downloads.puppetlabs.com/$pkgname/$pkgname-$version.tar.gz"
2015-07-29 09:57:35 +02:00
checksum=2fee1ee938196790f24b7b876ff04a5d69c0ac1492ff6935b003ae23500eced7
2014-11-25 18:17:11 +01:00
post_install() {
vlicense LICENSE
}
2015-07-29 09:57:35 +02:00
facter-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
}
}