summaryrefslogtreecommitdiff
path: root/packages/mozilla/mozilla-cvs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mozilla/mozilla-cvs.inc')
-rw-r--r--packages/mozilla/mozilla-cvs.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/mozilla/mozilla-cvs.inc b/packages/mozilla/mozilla-cvs.inc
index e69de29bb2..9f92ae5b13 100644
--- a/packages/mozilla/mozilla-cvs.inc
+++ b/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
+}