summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-01-30 15:01:50 +0000
committerPhil Blundell <philb@gnu.org>2005-01-30 15:01:50 +0000
commita02b2bb4295bdf27228f6df4e20a723320e016cd (patch)
treeb64f88e328d5eef581d5b6869dd0297b35bdddbf
parent5860fd1ed0e19986561e64f94a1f012b916de343 (diff)
break out mozilla cvs fetcher into mozilla-cvs.inc, and make it respect CVSDATE
BKrev: 41fcf6demXLGPTCXJv7ngW7ymgZyqw
-rw-r--r--packages/mozilla/minimo_cvs.bb16
-rw-r--r--packages/mozilla/mozilla-cvs.inc0
2 files changed, 3 insertions, 13 deletions
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
--- /dev/null
+++ b/packages/mozilla/mozilla-cvs.inc