diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-02-07 22:13:09 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-02-07 22:13:09 +0000 |
commit | f54495e3faf4d5e36a4a511f29218942712e1fe8 (patch) | |
tree | c7d17e3fcead369c901a05a9b71bd9b705076b07 /www-servers | |
parent | New ebuild for meteor. Thanks to the reviewers. See bug #442210. (diff) | |
download | historical-f54495e3faf4d5e36a4a511f29218942712e1fe8.tar.gz historical-f54495e3faf4d5e36a4a511f29218942712e1fe8.tar.bz2 historical-f54495e3faf4d5e36a4a511f29218942712e1fe8.zip |
New ebuild for meteor. Thanks to the reviewers. See bug #442210.
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/meteor/Manifest | 3 | ||||
-rw-r--r-- | www-servers/meteor/metadata.xml | 11 | ||||
-rw-r--r-- | www-servers/meteor/meteor-0.5.4.ebuild | 63 |
3 files changed, 76 insertions, 1 deletions
diff --git a/www-servers/meteor/Manifest b/www-servers/meteor/Manifest index c8144686357d..d8a306ddc24e 100644 --- a/www-servers/meteor/Manifest +++ b/www-servers/meteor/Manifest @@ -1,4 +1,5 @@ DIST meteor-0.5.4.tar.gz 1725674 SHA256 b337f19b0610ced6b608daecadbf1e84b4828186da14e740c603fade0f078b91 SHA512 e65b9c0136e30296e7cbc5ddcbc3f847b010511893954bf5fbd9f1bc4b0c775f587e28ff21c83be14d8ce68395f314da81adb256880943787b1873f9e2836f1f WHIRLPOOL d2c07ed93313995444b2eb82dbd3fa0c9af96679a2523ea67d32dbe6e9be181584721943986f84fbaa6c1810fd3282aa252e195afb62a4fb125c5dbd940fc43b DIST meteor-0.5.4_bundle-0.2.12.tar.gz 13513458 SHA256 c52ebf56929f59bbd7b60f83b30e1a66b2ad68131ea4872d9f26cabc84c9b462 SHA512 3684bfc6e7892a747ef9a58400ce5c60b099325a8a3f038512f540895c02809730deacbb644114941c05ce6b405f720926011f8a9a348ee7324cdab0904db9a0 WHIRLPOOL 58809ab6b0ed26ee7c5735e8091cc8fee2f1cc79fc64416fd3d5094f88d42e863d280583137a08918b03d309d5cc2d9cc7c64b51dbdb33c7501ce7d2cca7d14d -EBUILD meteor-0.5.4.ebuild 1628 SHA256 aff37856f3db975f8d39a720f6f124aafb2703e00ea90d3144c168174861fdf1 SHA512 42be0bd744183e4984463c5b154f2d26b4bd9ac7e0197e2d8bfd5cf8c7ad3916f8f312190f70d5e868be9d6681d0718eb0bddbe5678c41b6e5f45884aaf9e124 WHIRLPOOL 97647fa73ca7de9312d53fa3c1b655b631dc243dda7bc8d63009f1dbafd33aefee302cb0be486fa9757b2aa07cfb44f03aae8eecdaadd252e71aee56c0efad8b +EBUILD meteor-0.5.4.ebuild 1728 SHA256 ebf291628440d7e5891ec92d979a43ec4685698ef8a62038ef4a17e45ba12389 SHA512 dc78e81bdd6cf19705aec823123d7d36bd4a248e60e7d5d086121a96ed3acd4b6f46236c98a92e3e118e3ff6f7a633de8cc7d80854ce2ce3832afd145f6214ad WHIRLPOOL e4e4dd214b50032739144ca474b46f7989f7756ab335288c6024cd66feb11bd13f40952f13e457640b9e0a3d6d24d205a1066b47bf9d9c3a982f64b25be466cf +MISC ChangeLog 391 SHA256 f80454a1be235695f18ac8f4edf77a6014c9f7ab3ff765e903442a8217603da8 SHA512 ebaf0236d1b5f1ce749472b0ad0d625286113b8420f54e4173723001ce637d2ad5b96c124eed25e260b04340c8fbe6bb1d771018d0271dbc7aef3747e6c600ee WHIRLPOOL eca9211eddcedc7d2d0ef60e8b6899e3daec3b5a32fb0373f9d3a153a6a8c8282f50ba8e8e771dcb7982862985213ead16c2b24581ec241f771edf44deee7cd5 MISC metadata.xml 366 SHA256 e4a08300f22c4abc79983b59eb6c46bdac1d7688bd1053cc90a487656743d2e6 SHA512 6edbacb66e8ac24a7ad38469ef4f5056aabd1a17fa77edf1f2e501c7d152b271c965d68aa37c1997e8d3b5b3a2ffb93857c4fe0b361011cf261173d4fd0edc97 WHIRLPOOL d08098a757b23c18a7cba6c45ffadb8ada06e149076c95effddce7a1bf456eb888abfd67978a21f4c76289d9486603ab8716898fb2ffd97592119a03ef013360 diff --git a/www-servers/meteor/metadata.xml b/www-servers/meteor/metadata.xml new file mode 100644 index 000000000000..51cc342bc275 --- /dev/null +++ b/www-servers/meteor/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + An open-source platform for building top-quality web apps in a fraction of the time. + </longdescription> +</pkgmetadata> diff --git a/www-servers/meteor/meteor-0.5.4.ebuild b/www-servers/meteor/meteor-0.5.4.ebuild new file mode 100644 index 000000000000..1bbe3dde55a9 --- /dev/null +++ b/www-servers/meteor/meteor-0.5.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/meteor/meteor-0.5.4.ebuild,v 1.1 2013/02/07 22:13:06 tomwij Exp $ + +EAPI=5 + +inherit vcs-snapshot + +METEOR_BUNDLEV="0.2.12" + +DESCRIPTION="An open-source platform for building top-quality web apps in a fraction of the time." +HOMEPAGE="http://meteor.com/" +SRC_URI="https://github.com/meteor/meteor/tarball/v${PV} -> ${P}.tar.gz + x86? ( https://d3sqy0vbqsdhku.cloudfront.net/dev_bundle_Linux_i686_${METEOR_BUNDLEV}.tar.gz -> ${P}_bundle-${METEOR_BUNDLEV}.tar.gz ) + amd64? ( https://d3sqy0vbqsdhku.cloudfront.net/dev_bundle_Linux_x86_64_${METEOR_BUNDLEV}.tar.gz -> ${P}_bundle-${METEOR_BUNDLEV}.tar.gz )" + +LICENSE="AGPL-3 + Apache-2.0 + Boost-1.0 + BSD + BSD-2 + CCPL-Attribution-ShareAlike-2.0 + HPND + MIT + npm + ODbL-1.0 + openssl + public-domain + Unlicense + ZLIB || ( BSD-2 GPL-2+ ) + WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + local DEV_BUNDLE_DIR="${WORKDIR}/${P}_bundle-${METEOR_BUNDLEV}" + + einfo "Patching files..." + sed -e 's/DEV_BUNDLE=$(dirname "$SCRIPT_DIR")/DEV_BUNDLE="$SCRIPT_DIR"/g' -i meteor || die "Couldn't patch DEV_BUNDLE script dir." + + einfo "Merging development bundle..." + mv ${DEV_BUNDLE_DIR}/* ${DEV_BUNDLE_DIR}/.bundle_version.txt . + + einfo "Removing unnecessary files..." + rm -rf admin + rm -rf {examples,packages}/*/.meteor/local + rm -rf examples/unfinished +} + +src_install() { + dodir /opt/meteor + + insinto /opt/meteor + doins -r * + doins .bundle_version.txt + + dosym /opt/meteor/meteor /usr/bin/meteor + + fperms +x /opt/meteor/meteor + fperms +x /opt/meteor/bin/node + fperms +x /opt/meteor/mongodb/bin/mongo + fperms +x /opt/meteor/mongodb/bin/mongod +} |