devio: move to devio_1.0, move to a file (not cvs) release
authorJohn Bowler <jbowler@nslu2-linux.org>
Thu, 22 Sep 2005 19:29:58 +0000 (19:29 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 22 Sep 2005 19:29:58 +0000 (19:29 +0000)
packages/devio/devio-cvs.inc [new file with mode: 0644]
packages/devio/devio-native.inc [new file with mode: 0644]
packages/devio/devio-native_1.0.bb [new file with mode: 0644]
packages/devio/devio-native_cvs.bb
packages/devio/devio-native_r1.bb
packages/devio/devio-native_r2.bb
packages/devio/devio.inc [new file with mode: 0644]
packages/devio/devio_1.0.bb [new file with mode: 0644]
packages/devio/devio_cvs.bb
packages/devio/devio_r1.bb
packages/devio/devio_r2.bb

diff --git a/packages/devio/devio-cvs.inc b/packages/devio/devio-cvs.inc
new file mode 100644 (file)
index 0000000..10e1827
--- /dev/null
@@ -0,0 +1,16 @@
+# 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"
diff --git a/packages/devio/devio-native.inc b/packages/devio/devio-native.inc
new file mode 100644 (file)
index 0000000..1ba886c
--- /dev/null
@@ -0,0 +1,4 @@
+# Set the installation dir back to the default
+sbindir = "${exec_prefix}/sbin"
+
+inherit native
diff --git a/packages/devio/devio-native_1.0.bb b/packages/devio/devio-native_1.0.bb
new file mode 100644 (file)
index 0000000..6103b3a
--- /dev/null
@@ -0,0 +1,3 @@
+# This package builds the devio program for the build architecture
+include devio_1.0.bb
+include devio-native.inc
index 6f4e9b7..71c8ae6 100644 (file)
@@ -1,7 +1,3 @@
 # 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
index 6f4e9b7..d1a25b1 100644 (file)
@@ -1,7 +1,3 @@
 # 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
index 6f4e9b7..624b315 100644 (file)
@@ -1,7 +1,3 @@
 # 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
diff --git a/packages/devio/devio.inc b/packages/devio/devio.inc
new file mode 100644 (file)
index 0000000..fadbd48
--- /dev/null
@@ -0,0 +1,20 @@
+# 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
diff --git a/packages/devio/devio_1.0.bb b/packages/devio/devio_1.0.bb
new file mode 100644 (file)
index 0000000..38021fa
--- /dev/null
@@ -0,0 +1 @@
+include devio.inc
index 3cbb2ea..a8915bc 100644 (file)
@@ -1,25 +1,2 @@
-# 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
index 4dc70b2..66de024 100644 (file)
@@ -1,25 +1 @@
-# 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
index 4dc70b2..66de024 100644 (file)
@@ -1,25 +1 @@
-# 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