diff options
author | 2012-08-25 19:36:52 +0200 | |
---|---|---|
committer | 2012-08-25 19:36:52 +0200 | |
commit | 946742acd87448919886b6640ae63d956a05d7d5 (patch) | |
tree | 6d5c5d2021cb268db2ac3ac4b117f06c75cb6f63 | |
download | TomWij-946742acd87448919886b6640ae63d956a05d7d5.tar.gz TomWij-946742acd87448919886b6640ae63d956a05d7d5.tar.bz2 TomWij-946742acd87448919886b6640ae63d956a05d7d5.zip |
Initial push. Added Meteor 0.3.9 ebuild.
-rw-r--r-- | profiles/repo_name | 1 | ||||
-rw-r--r-- | www-servers/meteor/Manifest | 2 | ||||
-rw-r--r-- | www-servers/meteor/meteor-0.3.9.ebuild | 47 |
3 files changed, 50 insertions, 0 deletions
diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..c04d3c3 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +TomWij diff --git a/www-servers/meteor/Manifest b/www-servers/meteor/Manifest new file mode 100644 index 0000000..aa9bb69 --- /dev/null +++ b/www-servers/meteor/Manifest @@ -0,0 +1,2 @@ +DIST meteor-0.3.9.tar.gz 1108439 SHA256 600db9ce5492fbce4c958d98882fb0fe5194b93e4daefabb56d3399d7f0977b4 SHA512 d4cf0a2112e64ce1078a9f01da6260fd04d14b666c763772de07c5ce11db92198fe81db0e6bcb265f079b685f6546ba21c6a26fc1177135af5bb37f50b575566 WHIRLPOOL 41f6fbf0ac3962817cf33e39ae559f3bfec31fdb7f862014c345916f791dee1ffad696e27f99743e4bf950783b8824b3ca476c5ce56dac8d23fe51272761e10e +EBUILD meteor-0.3.9.ebuild 1205 SHA256 ea00bf3518077c97671ab739940bbd3295d6730f1da1ad1cef83fe2d62e8bcf1 SHA512 74fa3b350509d7960c2bebe42b505c305824ea56867abbebd12318f8ad2f707b58410d91a70a8f86442a49c749e53a24add2d2ca7e75580eff9f378f33c6761e WHIRLPOOL a3242f408cc203fe8eaa32c752a2854c59c18322a764986d3233f9d312a5cd2d3274a962d323b97ac1e871580d2d5256db370041ca165760db9c6347bae3a077 diff --git a/www-servers/meteor/meteor-0.3.9.ebuild b/www-servers/meteor/meteor-0.3.9.ebuild new file mode 100644 index 0000000..bdf7dea --- /dev/null +++ b/www-servers/meteor/meteor-0.3.9.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Meteor is an open-source platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started." +HOMEPAGE="http://meteor.com/" +SRC_URI="https://github.com/meteor/meteor/tarball/v${PV} -> $P.tar.gz" +LICENSE="https://raw.github.com/meteor/meteor/master/LICENSE.txt" + +SLOT="0" +KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd" + +src_unpack() { + unpack ${A} + mv meteor* ${P} +} + +src_prepare() { + cd ${P} + + touch .git + ./meteor --version || die + git rev-parse HEAD > .git_version.txt + rm .git + mv dev_bundle/* . + mv dev_bundle/.bundle_version.txt . + rm -rf dev_bundle + + rm -rf admin + rm -rf packages/*/.meteor/local + rm -rf examples/*/.meteor/local + rm -rf examples/unfinished + + sed -e 's/DEV_BUNDLE=$(dirname "$SCRIPT_DIR")/DEV_BUNDLE=$SCRIPT_DIR/g' -i meteor +} + +src_install() { + mkdir -p ${D}/usr/local/meteor + cp -ar ${WORKDIR}/${P}/* ${D}/usr/local/meteor + cp ${WORKDIR}/${P}/.bundle_version.txt ${D}/usr/local/meteor + + mkdir -p ${D}/usr/local/bin + ln -s /usr/local/meteor/meteor ${D}/usr/local/bin/meteor +} + |