summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-12-03 16:34:06 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2015-12-03 16:34:06 -0800
commitbc71d710892992ecc2d5d9394878a74adb2c6304 (patch)
treedee9eb975cac1b073fe63cf0407d053cb6bf38ca
parentAdd app-misc/bazel at 0.1.1 (diff)
downloadpalmer-bc71d710892992ecc2d5d9394878a74adb2c6304.tar.gz
palmer-bc71d710892992ecc2d5d9394878a74adb2c6304.tar.bz2
palmer-bc71d710892992ecc2d5d9394878a74adb2c6304.zip
Don't strip bazel, instal to /usr/bin
bazel is some odd self-extracting binary that while appearing to be ELF, is almost entirely stripped. I'm not really sure why it's this way, but if I strip the file it falls apart.
-rw-r--r--app-misc/bazel/Manifest2
-rw-r--r--app-misc/bazel/bazel-0.1.1.ebuild6
2 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/bazel/Manifest b/app-misc/bazel/Manifest
index 1d6e8e7..807255b 100644
--- a/app-misc/bazel/Manifest
+++ b/app-misc/bazel/Manifest
@@ -1,3 +1,3 @@
AUX bazel-0.1.1-java-1.7.patch 2904 SHA256 9b666aeb56eec2ba62ef8d47dc212e3eddca7e65313240a43602c6456bae9d62 SHA512 14262ab79bf924d806ebabc7dcc27caf2180c7d22afcc4e5e16411f5cab26fcce0143e89b15e9757152f2b2d7de7a3f7db64626d251973c4501511f4c3944c19 WHIRLPOOL 695ce73068e35c415ba159fd1846ddc852d868a6e8116f4f0acdb9f818aaefcc102d9699f0a98cb36662b7f675a6e3c78421e5b71f3b0ffd1a7c6a69503f703d
DIST bazel-0.1.1.tar.gz 32568290 SHA256 49d11d467cf9e32dea618727198592577fbe76ff2e59217c53e3515ddf61cd95 SHA512 1d7636f7c4b2d7e152685bef27f6913b75c376730e106c85a54fbaf0e0797f74ecc2e7e7fb4ff1cd8cbe2b4d30c391c89a12f03de8ac8e758b3715632ae99717 WHIRLPOOL 20e4d0ab279d6d833a82b4ed986230806a91d31d16ca9c5deb6a78ee7404d81680a15672d2c1970551158f564396f098c749b4c586d86173036f03c8b2eb2f03
-EBUILD bazel-0.1.1.ebuild 595 SHA256 0b8d98c48ea345c6ef31d24cd2e220237852c06145a0420e5b0af1e4b230bb50 SHA512 fad387d3d288da2fc1f068024ed8e9f6de2909e3e6dabfba7e43a75a759f36fdf1ccad084549f027675cca48e7ed0a9f6e3e181f23e299dffc68d91264f0debd WHIRLPOOL e7c4314bf0b53a53876a4c4e527592e8f2d8f9f656b3c4a2f2b19241ce56a407d3b25fdd2b3af3e714e0d2f9691ba964b7a98e465495d4cda11563aa321fde00
+EBUILD bazel-0.1.1.ebuild 616 SHA256 7a4e93a3d28371706b3eea0e937e849287b1fd96431896bc0e8779b07b2cfe7f SHA512 729fd81b401ca1fb48e6724edb845c1dc56470def93b1792dee139085b01fde9967b8041f02a683f0d82e29d520c7a53cf4a4ab6d3789bfd0b065e35abc88edc WHIRLPOOL e7baa5b4d0888f0ae4367bb9530d866d8e5bd38206d9263006f7e9556078634fa447f79957440fdd395e95b948f5aa4ecc4031b5590e51880544a7e8de871b1b
diff --git a/app-misc/bazel/bazel-0.1.1.ebuild b/app-misc/bazel/bazel-0.1.1.ebuild
index 5f744cc..4d4e535 100644
--- a/app-misc/bazel/bazel-0.1.1.ebuild
+++ b/app-misc/bazel/bazel-0.1.1.ebuild
@@ -18,6 +18,8 @@ IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
+RESTRICT="strip"
+
src_prepare() {
epatch "${FILESDIR}/${P}-java-1.7.patch"
}
@@ -31,6 +33,6 @@ src_compile() {
}
src_install() {
- mkdir -p ${ED}/bin
- cp -a --reflink=auto output/${PN} ${ED}/bin/${PN}
+ mkdir -p ${ED}/usr/bin
+ cp -a --reflink=auto output/${PN} ${ED}/usr/bin/
}