From a02b2bb4295bdf27228f6df4e20a723320e016cd Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 30 Jan 2005 15:01:50 +0000 Subject: break out mozilla cvs fetcher into mozilla-cvs.inc, and make it respect CVSDATE BKrev: 41fcf6demXLGPTCXJv7ngW7ymgZyqw --- packages/mozilla/minimo_cvs.bb | 16 +++------------- packages/mozilla/mozilla-cvs.inc | 0 2 files changed, 3 insertions(+), 13 deletions(-) create mode 100644 packages/mozilla/mozilla-cvs.inc (limited to 'packages') diff --git a/packages/mozilla/minimo_cvs.bb b/packages/mozilla/minimo_cvs.bb index baf1fa56bd..ebeff9ba30 100644 --- a/packages/mozilla/minimo_cvs.bb +++ b/packages/mozilla/minimo_cvs.bb @@ -10,28 +10,18 @@ SECTION = "x11" PRIORITY = "optional" PV = "0.0cvs${CVSDATE}" FILES_${PN} += "${libdir}/mozilla-minimo" -PR = "r7" +PR = "r8" LICENSE = "MPL/LGPL/GPL" inherit mozilla EXTRA_OECONF += "--enable-application=suite" +export MOZ_CO_PROJECT="suite" export MINIMO=1 export MOZ_OBJDIR="${WORKDIR}/build-${TARGET_SYS}" -export MOZ_CO_PROJECT="suite" -do_fetch () { - 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 -} +include mozilla-cvs.inc do_compile () { mozilla_do_compile diff --git a/packages/mozilla/mozilla-cvs.inc b/packages/mozilla/mozilla-cvs.inc new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3