summaryrefslogtreecommitdiff
path: root/openembedded/packages/mozilla/mozilla-cvs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/mozilla/mozilla-cvs.inc')
-rw-r--r--openembedded/packages/mozilla/mozilla-cvs.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/openembedded/packages/mozilla/mozilla-cvs.inc b/openembedded/packages/mozilla/mozilla-cvs.inc
new file mode 100644
index 0000000000..9f92ae5b13
--- /dev/null
+++ b/openembedded/packages/mozilla/mozilla-cvs.inc
@@ -0,0 +1,12 @@
+do_fetch () {
+ export MOZ_CO_DATE="${CVSDATE}"
+ mkdir -p ${WORKDIR}
+ cd ${WORKDIR}
+ if [ ! -f ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz ]; then
+ cvs $CVSCOOPTS -d :pserver:anonymous@cvs-mirror.mozilla.org/cvsroot co mozilla/client.mk
+ cd mozilla
+ oe_runmake -f client.mk checkout
+ cd ..
+ tar czf ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${CVSDATE}.tar.gz mozilla
+ fi
+}