diff options
Diffstat (limited to 'js-libs/datejs/datejs-1.0a.ebuild')
-rw-r--r-- | js-libs/datejs/datejs-1.0a.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/js-libs/datejs/datejs-1.0a.ebuild b/js-libs/datejs/datejs-1.0a.ebuild new file mode 100644 index 0000000..e3e753a --- /dev/null +++ b/js-libs/datejs/datejs-1.0a.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit webapp versionator eutils + +DESCRIPTION="Datejs is an open-source JavaScript Date Library" +HOMEPAGE="http://www.datejs.com/" +SRC_URI="http://${PN}.googlecode.com/files/date.js" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}/date.js" "${S}/" +} + +src_install() { + webapp_src_preinst + webapp_src_install + insinto "${MY_HTDOCSDIR}" + doins "date.js" +} + +pkg_setup() { + webapp_pkg_setup +} + +pkg_postinst() { + webapp_pkg_postinst +} |