chef-client: remove dpkg makedepend
This commit is contained in:
parent
92643b83e0
commit
2c06435422
|
@ -2,10 +2,8 @@
|
||||||
pkgname=chef-client
|
pkgname=chef-client
|
||||||
version=12.5.1
|
version=12.5.1
|
||||||
revision=1
|
revision=1
|
||||||
#create_wrksrc=yes
|
|
||||||
only_for_archs="x86_64 i686"
|
only_for_archs="x86_64 i686"
|
||||||
build_style=fetch
|
build_style=fetch
|
||||||
makedepends="dpkg"
|
|
||||||
short_desc="Client for the Chef Systems Integration Framework"
|
short_desc="Client for the Chef Systems Integration Framework"
|
||||||
maintainer="bougyman <bougyman@voidlinux.eu>"
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||||
license="apache2"
|
license="apache2"
|
||||||
|
@ -20,8 +18,8 @@ fi
|
||||||
distfiles="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/${XBPS_TARGET_MACHINE}/chef_${version}-1_${_debarch}.deb"
|
distfiles="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/10.04/${XBPS_TARGET_MACHINE}/chef_${version}-1_${_debarch}.deb"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
dpkg-deb --extract chef_${version}-1_${_debarch}.deb "$DESTDIR"
|
ar p chef_${version}-1_${_debarch}.deb data.tar.gz | tar xzf - -C "${DESTDIR}"
|
||||||
mkdir -p "$DESTDIR/usr/bin"
|
mkdir -p "$DESTDIR"/usr/bin
|
||||||
for bin in chef-apply chef-client chef-shell chef-solo knife ohai;do
|
for bin in chef-apply chef-client chef-shell chef-solo knife ohai;do
|
||||||
ln -s /opt/chef/bin/${bin} "$DESTDIR"/usr/bin/${bin}
|
ln -s /opt/chef/bin/${bin} "$DESTDIR"/usr/bin/${bin}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue