--- /dev/null
+# CVS based releases, disfavour these
+DEFAULT_PREFERENCE = "-1"
+
+include devio.inc
+
+# this is a CVS only release
+CVS_TAG ?= ";tag=${PV}"
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/devio;method=pserver;module=devio${CVS_TAG}"
+
+# This accesses the head version, anonymous pserver access is
+# only updated once per day (and it is necessary to change
+# 'jbowler' to the name of a developer with ssh access.)
+#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/devio;method=ext;rsh=ssh;tag=HEAD;module=devio"
+
+# The source will end up in the subdirectory 'devio' - no release name
+S = "${WORKDIR}/devio"
--- /dev/null
+# Set the installation dir back to the default
+sbindir = "${exec_prefix}/sbin"
+
+inherit native
--- /dev/null
+# This package builds the devio program for the build architecture
+include devio_1.0.bb
+include devio-native.inc
# This package builds the devio program for the build architecture
-include devio_${PV}.bb
-
-# Set the installation dir back to the default
-sbindir = "${exec_prefix}/sbin"
-
-inherit native
+include devio_cvs.bb
+include devio-native.inc
# This package builds the devio program for the build architecture
-include devio_${PV}.bb
-
-# Set the installation dir back to the default
-sbindir = "${exec_prefix}/sbin"
-
-inherit native
+include devio_r1.bb
+include devio-native.inc
# This package builds the devio program for the build architecture
-include devio_${PV}.bb
-
-# Set the installation dir back to the default
-sbindir = "${exec_prefix}/sbin"
-
-inherit native
+include devio_r2.bb
+include devio-native.inc
--- /dev/null
+# This package builds the devio program
+DESCRIPTION = "devio - block devio io"
+HOMEPAGE = "http://devio.sourceforge.net/"
+MAINTAINER = "John Bowler <jbowler@acm.org>"
+SECTION = "base"
+LICENSE = "MIT"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/devio/devio-${PV}.tar.gz"
+
+# Source directory
+S = "${WORKDIR}/devio-${PV}"
+
+# Just the one package at present
+PACKAGES = "${PN}"
+
+# Set the install dir to /sbin, not /usr/sbin, because devio is used
+# during bootstrap (we want it to be posible to mount /usr separately)
+sbindir = "/sbin"
+
+inherit autotools
--- /dev/null
+include devio.inc
-# This package builds the devio program
-PR = "r0"
-DESCRIPTION = "devio - block devio io"
-HOMEPAGE = "http://devio.sourceforge.net/"
-MAINTAINER = "John Bowler <jbowler@acm.org>"
-SECTION = "base"
-LICENSE = "MIT"
-
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/devio;method=pserver;module=devio"
-# This accesses the head version, anonymous pserver access is
-# only updated once per day (and it is necessary to change
-# 'jbowler' to the name of a developer with ssh access.)
-#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/devio;method=ext;rsh=ssh;tag=HEAD;module=devio"
-
-# The source will end up in the subdirectory 'devio' - no release name
-S = "${WORKDIR}/devio"
-
-# Just the one package at present
-PACKAGES = "${PN}"
-
-# Set the install dir to /sbin, not /usr/sbin, because devio is used
-# during bootstrap (we want it to be posible to mount /usr separately)
-sbindir = "/sbin"
-
-inherit autotools
+CVS_TAG = ""
+include devio-cvs.inc
-# This package builds the devio program
-PR = "r0"
-DESCRIPTION = "devio - block devio io"
-HOMEPAGE = "http://devio.sourceforge.net/"
-MAINTAINER = "John Bowler <jbowler@acm.org>"
-SECTION = "base"
-LICENSE = "MIT"
-
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/devio;method=pserver;module=devio;tag=${PV}"
-# This accesses the head version, anonymous pserver access is
-# only updated once per day (and it is necessary to change
-# 'jbowler' to the name of a developer with ssh access.)
-#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/devio;method=ext;rsh=ssh;tag=HEAD;module=devio"
-
-# The source will end up in the subdirectory 'devio' - no release name
-S = "${WORKDIR}/devio"
-
-# Just the one package at present
-PACKAGES = "${PN}"
-
-# Set the install dir to /sbin, not /usr/sbin, because devio is used
-# during bootstrap (we want it to be posible to mount /usr separately)
-sbindir = "/sbin"
-
-inherit autotools
+include devio-cvs.inc
-# This package builds the devio program
-PR = "r0"
-DESCRIPTION = "devio - block devio io"
-HOMEPAGE = "http://devio.sourceforge.net/"
-MAINTAINER = "John Bowler <jbowler@acm.org>"
-SECTION = "base"
-LICENSE = "MIT"
-
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/devio;method=pserver;module=devio;tag=${PV}"
-# This accesses the head version, anonymous pserver access is
-# only updated once per day (and it is necessary to change
-# 'jbowler' to the name of a developer with ssh access.)
-#SRC_URI = "cvs://jbowler@cvs.sourceforge.net/cvsroot/devio;method=ext;rsh=ssh;tag=HEAD;module=devio"
-
-# The source will end up in the subdirectory 'devio' - no release name
-S = "${WORKDIR}/devio"
-
-# Just the one package at present
-PACKAGES = "${PN}"
-
-# Set the install dir to /sbin, not /usr/sbin, because devio is used
-# during bootstrap (we want it to be posible to mount /usr separately)
-sbindir = "/sbin"
-
-inherit autotools
+include devio-cvs.inc