summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js-libs/jquerytools/jquerytools-1.2.5.ebuild')
-rw-r--r--js-libs/jquerytools/jquerytools-1.2.5.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/js-libs/jquerytools/jquerytools-1.2.5.ebuild b/js-libs/jquerytools/jquerytools-1.2.5.ebuild
index 5af04a6..c817438 100644
--- a/js-libs/jquerytools/jquerytools-1.2.5.ebuild
+++ b/js-libs/jquerytools/jquerytools-1.2.5.ebuild
@@ -6,15 +6,15 @@ EAPI="3"
inherit webapp versionator eutils
+MY_P="jquery.tools"
+
DESCRIPTION="The missing UI library for the Web"
HOMEPAGE="http://flowplayer.org/tools/"
-SRC_URI="http://cdn.jquerytools.org/${PV}/all/jquery.tools.min.js"
-
-SLOT="0"
+SRC_URI="http://cdn.jquerytools.org/${PV}/all/${MY_P}.min.js"
LICENSE="public-domain"
KEYWORDS="~amd64 ~x86"
-IUSE="examples minimal"
+IUSE=""
DEPEND="js-libs/jquery"
RDEPEND="${DEPEND}"
@@ -22,18 +22,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_unpack() {
- cp "${DISTDIR}/jquery.flot.js" "${S}/"
- cp "${DISTDIR}/jquery.flot.*.js" "${S}/"
- if [ use examples ] ; then
- cp "${DISTDIR}/examples/*" "${S}/examples/"
- fi
+ cp "${DISTDIR}/${MY_P}.min.js" "${S}/"
}
src_install() {
webapp_src_preinst
webapp_src_install
insinto "${MY_HTDOCSDIR}"
- doins "${P}.js" "${P}.min.js"
+ doins "${MY_P}.min.js"
}
pkg_setup() {