Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST chefdk_0.4.0-1_amd64.deb 138265262 SHA256 e135c0719fc80fc7b95560e90839103167308a45d4927cf8da9c22bdc385cc7d SHA512 88ea6e270178317864cc6d6407f8c2323bcf676f90456880552aad3676a67bc4fdf01b59b15988c50554d95b2cc4f08a94f0faf993cad7416abb270d71130e7d WHIRLPOOL c288d5ede87e2444e2cc465c6bcb785a58c780d5468ea00de60942fbedb57352c6f93c2487913ba0a7c9a9808129ce45a76b61781e487a9085f7d6fc3f09cbde | ||
EBUILD chefdk-omnibus-0.4.0.ebuild 1312 SHA256 29fcb57080650b40d8a0efd8344c476d84348c7064a770849be960423c2d906a SHA512 aeab8546145a7e74cb7713168dd15cbef604cf5ebe95cc25aedaed5f3096f3f989b9f5f15aeb711b83bcbbfb5f44b56dd8d9d232617f406f77e634a4d8e2edcb WHIRLPOOL fb99faa5a733ea0ff3b2a49842fee3bfaeb6321c793b642b420521489fcc074c94a24cccf68f742737ee2be7092894a26bf328966dd966aff1526fa33af64628 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Blatently stolen from https://github.com/lxmx/gentoo-overlay | ||
|
||
EAPI="4" | ||
|
||
DESCRIPTION="Omnibus installation of ChefDK" | ||
HOMEPAGE="http://www.opscode.com/chefdk/install/" | ||
SRC_URI="http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.4.0-1_amd64.deb" | ||
|
||
LICENSE="Apache" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
|
||
S="${WORKDIR}" | ||
|
||
src_unpack() { | ||
unpack ${A} ./data.tar.gz | ||
} | ||
|
||
src_install() { | ||
local dest="${D}/opt" | ||
mkdir -p "$dest" | ||
|
||
cp -pR ./opt/* "$dest" | ||
|
||
dosym "$dest/chefdk/bin/chef-client" /usr/bin/chef-client || die | ||
dosym "$dest/chefdk/bin/chef-solo" /usr/bin/chef-solo || die | ||
dosym "$dest/chefdk/bin/chef-apply" /usr/bin/chef-apply || die | ||
dosym "$dest/chefdk/bin/chef-shell" /usr/bin/chef-shell || die | ||
dosym "$dest/chefdk/bin/chef-vault" /usr/bin/chef-vault || die | ||
dosym "$dest/chefdk/bin/chef" /usr/bin/chef || die | ||
dosym "$dest/chefdk/bin/knife" /usr/bin/knife || die | ||
dosym "$dest/chefdk/bin/shef" /usr/bin/shef || die | ||
dosym "$dest/chefdk/bin/ohai" /usr/bin/ohai || die | ||
dosym "$dest/chefdk/bin/kitchen" /usr/bin/kitchen || die | ||
dosym "$dest/chefdk/bin/berks" /usr/bin/berks || die | ||
dosym "$dest/chefdk/bin/foodcritic" /usr/bin/foodcritic || die | ||
} |