Merge pull request #2944 from bougyman/master
New package: chef-client-12.5.1
This commit is contained in:
commit
13c97c0a4f
1 changed files with 26 additions and 0 deletions
26
srcpkgs/chef-client/template
Normal file
26
srcpkgs/chef-client/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'chefdk'
|
||||
pkgname=chef-client
|
||||
version=12.5.1
|
||||
revision=1
|
||||
only_for_archs="x86_64 i686"
|
||||
build_style=fetch
|
||||
short_desc="Client for the Chef Systems Integration Framework"
|
||||
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||
license="apache2"
|
||||
homepage="https://github.com/chef/chef"
|
||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then
|
||||
_debarch=amd64
|
||||
checksum=656a4c4a8fd64d74d1d970fb0d07076d6f1d8230d37d751f2c3698a52d82c070
|
||||
else
|
||||
_debarch=i386
|
||||
checksum=d2e82528eca2b247cd59998bb9e0ac3df41614c97337c7d52f69051cafa83bd4
|
||||
fi
|
||||
distfiles="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/${XBPS_TARGET_MACHINE}/chef_${version}-1_${_debarch}.deb"
|
||||
|
||||
do_install() {
|
||||
ar p chef_${version}-1_${_debarch}.deb data.tar.gz | tar xzf - -C "${DESTDIR}"
|
||||
mkdir -p "$DESTDIR"/usr/bin
|
||||
for bin in chef-apply chef-client chef-shell chef-solo knife ohai;do
|
||||
ln -s /opt/chef/bin/${bin} "$DESTDIR"/usr/bin/${bin}
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue