summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/coreutils/coreutils.inc7
-rw-r--r--packages/coreutils/coreutils_5.0.bb9
-rw-r--r--packages/coreutils/coreutils_5.1.1.bb9
-rw-r--r--packages/coreutils/coreutils_5.1.3.bb9
-rw-r--r--packages/coreutils/coreutils_5.3.0.bb14
5 files changed, 17 insertions, 31 deletions
diff --git a/packages/coreutils/coreutils.inc b/packages/coreutils/coreutils.inc
new file mode 100644
index 0000000000..481c32bb3d
--- /dev/null
+++ b/packages/coreutils/coreutils.inc
@@ -0,0 +1,7 @@
+DESCRIPTION = "A collection of core GNU utilities."
+LICENSE = "GPL"
+SECTION = "base"
+RREPLACES = "textutils shellutils fileutils"
+RPROVIDES = "textutils shellutils fileutils"
+
+inherit autotools
diff --git a/packages/coreutils/coreutils_5.0.bb b/packages/coreutils/coreutils_5.0.bb
index c0e94329f2..84fa38cef2 100644
--- a/packages/coreutils/coreutils_5.0.bb
+++ b/packages/coreutils/coreutils_5.0.bb
@@ -1,14 +1,9 @@
-LICENSE = "GPL"
-SECTION = "base"
-DESCRIPTION = "A collection of core GNU utilities."
-RREPLACES = "textutils shellutils fileutils"
-RPROVIDES = "textutils shellutils fileutils"
+require coreutils.inc
+
PR = "r1"
SRC_URI = "${GNU_MIRROR}/coreutils/coreutils-${PV}.tar.gz \
file://malloc.patch;patch=1 \
file://configure.patch;patch=1"
-inherit autotools
-
export EXTRA_OEMAKE="'SUBDIRS=lib src doc m4 po tests' MAKEFLAGS="
diff --git a/packages/coreutils/coreutils_5.1.1.bb b/packages/coreutils/coreutils_5.1.1.bb
index f517fc8067..40b9fe4744 100644
--- a/packages/coreutils/coreutils_5.1.1.bb
+++ b/packages/coreutils/coreutils_5.1.1.bb
@@ -1,10 +1,5 @@
-LICENSE = "GPL"
-SECTION = "base"
-DESCRIPTION = "A collection of core GNU utilities."
-RREPLACES = "textutils shellutils fileutils"
-RPROVIDES = "textutils shellutils fileutils"
+require coreutils.inc
+
PR = "r1"
SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2"
-
-inherit autotools
diff --git a/packages/coreutils/coreutils_5.1.3.bb b/packages/coreutils/coreutils_5.1.3.bb
index 2f7476c2dd..2277ae6bc7 100644
--- a/packages/coreutils/coreutils_5.1.3.bb
+++ b/packages/coreutils/coreutils_5.1.3.bb
@@ -1,8 +1,5 @@
-LICENSE = "GPL"
-SECTION = "base"
-DESCRIPTION = "A collection of core GNU utilities."
-RREPLACES = "textutils shellutils fileutils"
-RPROVIDES = "textutils shellutils fileutils"
+require coreutils.inc
+
PR = "r8"
SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \
@@ -10,8 +7,6 @@ SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \
file://man.patch;patch=1 \
file://rename-eaccess.patch;patch=1"
-inherit autotools
-
# [ gets a special treatment and is not included in this
bindir_progs = "basename cksum comm csplit cut dir dircolors dirname du \
env expand expr factor fmt fold groups head hostid id install \
diff --git a/packages/coreutils/coreutils_5.3.0.bb b/packages/coreutils/coreutils_5.3.0.bb
index fa05a83781..6c2289b8f7 100644
--- a/packages/coreutils/coreutils_5.3.0.bb
+++ b/packages/coreutils/coreutils_5.3.0.bb
@@ -1,18 +1,12 @@
-DESCRIPTION = "A collection of core GNU utilities."
-LICENSE = "GPL"
-SECTION = "base"
-RREPLACES = "textutils shellutils fileutils"
-RPROVIDES = "textutils shellutils fileutils"
+require coreutils.inc
+
PR = "r1"
SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \
file://install-cross.patch;patch=1;pnum=0 \
file://man.patch;patch=1 \
- file://rename-tee-for-glibc2.5.patch;patch=1"
-
-SRC_URI += "file://uptime-pow-lib.patch;patch=1"
-
-inherit autotools
+ file://rename-tee-for-glibc2.5.patch;patch=1 \
+ file://uptime-pow-lib.patch;patch=1"
# [ gets a special treatment and is not included in this
bindir_progs = "basename cksum comm csplit cut dir dircolors dirname du \