summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/upslug/upslug2-cvs.inc10
-rw-r--r--packages/upslug/upslug2-native_3.bb3
-rw-r--r--packages/upslug/upslug2-native_4.bb2
-rw-r--r--packages/upslug/upslug2.inc9
-rw-r--r--packages/upslug/upslug2_3.bb2
-rw-r--r--packages/upslug/upslug2_4.bb1
6 files changed, 18 insertions, 9 deletions
diff --git a/packages/upslug/upslug2-cvs.inc b/packages/upslug/upslug2-cvs.inc
new file mode 100644
index 0000000000..ebd89a9b73
--- /dev/null
+++ b/packages/upslug/upslug2-cvs.inc
@@ -0,0 +1,10 @@
+# Overrides for a CVS build
+include upslug2.inc
+
+SRC_TAG = "upslug2_${@'_'.join(bb.data.getVar('PV',d,1).split('.'))}"
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/nslu;method=pserver;module=upslug2;tag=${SRC_TAG}"
+# For testing use this (tags and other changes take a day to
+# propogate on sourceforge). Change 'jbowler' to your login name!
+#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/nslu;method=ext;rsh=ssh;module=upslug2;tag=${SRC_TAG}"
+
+S = "${WORKDIR}/upslug2"
diff --git a/packages/upslug/upslug2-native_3.bb b/packages/upslug/upslug2-native_3.bb
index c3744f3cf6..d0e010198d 100644
--- a/packages/upslug/upslug2-native_3.bb
+++ b/packages/upslug/upslug2-native_3.bb
@@ -1,3 +1,2 @@
-include upslug2.inc
-
+include upslug2_3.bb
inherit native
diff --git a/packages/upslug/upslug2-native_4.bb b/packages/upslug/upslug2-native_4.bb
new file mode 100644
index 0000000000..0227255d29
--- /dev/null
+++ b/packages/upslug/upslug2-native_4.bb
@@ -0,0 +1,2 @@
+include upslug2_4.bb
+inherit native
diff --git a/packages/upslug/upslug2.inc b/packages/upslug/upslug2.inc
index 3c93852424..24820f556e 100644
--- a/packages/upslug/upslug2.inc
+++ b/packages/upslug/upslug2.inc
@@ -21,15 +21,12 @@ LIBPCAP_RDEPENDS_linux-uclibc = ""
RDEPENDS += "${LIBPCAP_RDEPENDS}"
-SRC_TAG = "upslug2_${@'_'.join(bb.data.getVar('PV',d,1).split('.'))}"
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/nslu;method=pserver;module=upslug2;tag=${SRC_TAG}"
-# For testing use this (tags and other changes take a day to
-# propogate on sourceforge). Change 'jbowler' to your login name!
-#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/nslu;method=ext;rsh=ssh;module=upslug2;tag=${SRC_TAG}"
+SRC_URI = "${SOURCEFORGE_MIRROR}/nslu/upslug2-${PV}.tar.gz"
inherit autotools
-S = "${WORKDIR}/upslug2"
+S = "${WORKDIR}/upslug2-${PV}"
+
PACKAGES = "${PN}"
EXTRA_OECONF += "${LIBPCAP_OECONF}"
diff --git a/packages/upslug/upslug2_3.bb b/packages/upslug/upslug2_3.bb
index de9c427303..5fa7c29185 100644
--- a/packages/upslug/upslug2_3.bb
+++ b/packages/upslug/upslug2_3.bb
@@ -1 +1 @@
-include upslug2.inc
+include upslug2-cvs.inc
diff --git a/packages/upslug/upslug2_4.bb b/packages/upslug/upslug2_4.bb
new file mode 100644
index 0000000000..de9c427303
--- /dev/null
+++ b/packages/upslug/upslug2_4.bb
@@ -0,0 +1 @@
+include upslug2.inc