summaryrefslogtreecommitdiff
path: root/meta/packages/mozilla/mozilla-cvs.inc
blob: 6e278aaaf5a7c3f1babd04137598ba016922757f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
do_fetch () {
	export MOZ_CO_DATE="${SRCDATE}"
	mkdir -p ${WORKDIR}
	cd ${WORKDIR}
	if [ ! -f ${DL_DIR}/mozilla_cvs-mirror.mozilla.org__${SRCDATE}.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__${SRCDATE}.tar.gz mozilla
	fi
}