summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dosbox/dosbox.inc13
-rw-r--r--packages/dosbox/dosbox_0.63.bb13
-rw-r--r--packages/dosbox/dosbox_0.70.bb13
-rw-r--r--packages/dosbox/dosbox_0.72.bb2
4 files changed, 17 insertions, 24 deletions
diff --git a/packages/dosbox/dosbox.inc b/packages/dosbox/dosbox.inc
new file mode 100644
index 0000000000..9cad5f35cd
--- /dev/null
+++ b/packages/dosbox/dosbox.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "Dos Emulator based on SDL"
+SECTION = "base"
+PRIORITY = "optional"
+DEPENDS = "virtual/libsdl"
+LICENSE = "GPL"
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/dosbox/dosbox-${PV}.tar.gz \
+ file://nocdrom.patch;patch=1"
+
+CXXFLAGS_append = " -DC_SDL_NOCDROM"
+
+inherit autotools
diff --git a/packages/dosbox/dosbox_0.63.bb b/packages/dosbox/dosbox_0.63.bb
index 9d68e27515..1d29ce0401 100644
--- a/packages/dosbox/dosbox_0.63.bb
+++ b/packages/dosbox/dosbox_0.63.bb
@@ -1,12 +1 @@
-DESCRIPTION = "Dos Emulator based on SDL"
-SECTION = "base"
-PRIORITY = "optional"
-DEPENDS = "virtual/libsdl"
-LICENSE = "GPL"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/dosbox/dosbox-${PV}.tar.gz \
- file://nocdrom.patch;patch=1"
-CXXFLAGS_append = " -DC_SDL_NOCDROM"
-
-inherit autotools
-
+require dosbox.inc
diff --git a/packages/dosbox/dosbox_0.70.bb b/packages/dosbox/dosbox_0.70.bb
index 9d68e27515..1d29ce0401 100644
--- a/packages/dosbox/dosbox_0.70.bb
+++ b/packages/dosbox/dosbox_0.70.bb
@@ -1,12 +1 @@
-DESCRIPTION = "Dos Emulator based on SDL"
-SECTION = "base"
-PRIORITY = "optional"
-DEPENDS = "virtual/libsdl"
-LICENSE = "GPL"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/dosbox/dosbox-${PV}.tar.gz \
- file://nocdrom.patch;patch=1"
-CXXFLAGS_append = " -DC_SDL_NOCDROM"
-
-inherit autotools
-
+require dosbox.inc
diff --git a/packages/dosbox/dosbox_0.72.bb b/packages/dosbox/dosbox_0.72.bb
new file mode 100644
index 0000000000..01a2166328
--- /dev/null
+++ b/packages/dosbox/dosbox_0.72.bb
@@ -0,0 +1,2 @@
+require dosbox.inc
+