summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js-libs')
-rw-r--r--js-libs/jquery/Manifest3
-rw-r--r--js-libs/jquery/jquery-1.6.1.ebuild40
2 files changed, 43 insertions, 0 deletions
diff --git a/js-libs/jquery/Manifest b/js-libs/jquery/Manifest
new file mode 100644
index 0000000..032e6b3
--- /dev/null
+++ b/js-libs/jquery/Manifest
@@ -0,0 +1,3 @@
+DIST jquery-1.6.1.js 234995 RMD160 e106f84190d8e5cf26d46a50e2bd24077a64447b SHA1 22c1eefcce5be20a3e0966f5bcdf88ed81e9f5e7 SHA256 0eef76a9583a6c7a1eb764d33fe376bfe1861df79fab82c2c3f5d16183e82016
+DIST jquery-1.6.1.min.js 91342 RMD160 4ec10fa37325329542f5d2bbebaf6803422dbe8a SHA1 6fca78dac2797c02d86a4bf6514eda398b7dbe62 SHA256 c784376960f3163dc760bc019e72e5fed78203745a5510c69992a39d1d8fe776
+EBUILD jquery-1.6.1.ebuild 708 RMD160 cae706d28d9c54521f8430ae4d95024fba2e6f67 SHA1 30f68d00f88730e5181f7c863ed4c11d46fbfdc8 SHA256 e0c6f053e026255c72d9d47ce77096b97e803ab47027ab8c74a5bb412faa8917
diff --git a/js-libs/jquery/jquery-1.6.1.ebuild b/js-libs/jquery/jquery-1.6.1.ebuild
new file mode 100644
index 0000000..b54e1ca
--- /dev/null
+++ b/js-libs/jquery/jquery-1.6.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit webapp versionator eutils
+
+DESCRIPTION="a fast and concise JavaScript Library"
+HOMEPAGE="http://jquery.com"
+SRC_URI="http://code.jquery.com/${P}.js http://code.jquery.com/${P}.min.js"
+
+LICENSE="|| ( MIT GPL-2 )"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ cp "${DISTDIR}/${P}.js" "${S}/"
+ cp "${DISTDIR}/${P}.min.js" "${S}/"
+}
+
+src_install() {
+ webapp_src_preinst
+ webapp_src_install
+ insinto "${MY_HTDOCSDIR}"
+ doins "${P}.js" "${P}.min.js"
+}
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+}