summaryrefslogtreecommitdiff
path: root/packages/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconf')
-rw-r--r--packages/autoconf/autoconf-native_2.59.bb2
-rw-r--r--packages/autoconf/autoconf.inc12
-rw-r--r--packages/autoconf/autoconf_2.57.bb9
-rw-r--r--packages/autoconf/autoconf_2.59.bb12
-rw-r--r--packages/autoconf/autoconf_2.61.bb13
5 files changed, 20 insertions, 28 deletions
diff --git a/packages/autoconf/autoconf-native_2.59.bb b/packages/autoconf/autoconf-native_2.59.bb
index 92a9257797..aa4871e194 100644
--- a/packages/autoconf/autoconf-native_2.59.bb
+++ b/packages/autoconf/autoconf-native_2.59.bb
@@ -1,5 +1,5 @@
-SECTION = "devel"
require autoconf_${PV}.bb
+
DEPENDS = "m4-native gnu-config-native"
RDEPENDS_${PN} = "m4-native gnu-config-native"
diff --git a/packages/autoconf/autoconf.inc b/packages/autoconf/autoconf.inc
new file mode 100644
index 0000000000..7761af06d7
--- /dev/null
+++ b/packages/autoconf/autoconf.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "A package of M4 macros to produce scripts to \
+automatically configure sourcecode."
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gnu.org/software/autoconf/"
+SECTION = "devel"
+DEPENDS += "m4-native"
+RDEPENDS_${PN} = "m4 gnu-config"
+
+SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
+ file://program_prefix.patch;patch=1"
+
+inherit autotools
diff --git a/packages/autoconf/autoconf_2.57.bb b/packages/autoconf/autoconf_2.57.bb
index 48726b1605..6c2906a362 100644
--- a/packages/autoconf/autoconf_2.57.bb
+++ b/packages/autoconf/autoconf_2.57.bb
@@ -1,9 +1,2 @@
-SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
- file://program_prefix.patch;patch=1"
-LICENSE = "GPL"
-DESCRIPTION = "A package of M4 macros to produce scripts to \
-automatically configure sourcecode."
-
+require autoconf.inc
PR = "r1"
-SECTION = "devel"
-inherit autotools
diff --git a/packages/autoconf/autoconf_2.59.bb b/packages/autoconf/autoconf_2.59.bb
index 3a5c220a48..5891d1ec59 100644
--- a/packages/autoconf/autoconf_2.59.bb
+++ b/packages/autoconf/autoconf_2.59.bb
@@ -1,15 +1,10 @@
-DESCRIPTION = "A package of M4 macros to produce scripts to \
-automatically configure sourcecode."
-LICENSE = "GPL"
-HOMEPAGE = "http://www.gnu.org/software/autoconf/"
-SECTION = "devel"
+require autoconf.inc
+
DEPENDS += "m4-native"
RDEPENDS_${PN} = "m4 gnu-config"
PR = "r5"
-SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
- file://program_prefix.patch;patch=1 \
- file://autoreconf-include.patch;patch=1 \
+SRC_URI += "file://autoreconf-include.patch;patch=1 \
file://autoreconf-exclude.patch;patch=1 \
file://autoreconf-foreign.patch;patch=1 \
file://autoreconf-gnuconfigize.patch;patch=1 \
@@ -18,4 +13,3 @@ SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
file://sizeof_types.patch;patch=1 \
file://autoconf-x.patch;patch=1 \
${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
-inherit autotools
diff --git a/packages/autoconf/autoconf_2.61.bb b/packages/autoconf/autoconf_2.61.bb
index adac2a6e1b..370315f041 100644
--- a/packages/autoconf/autoconf_2.61.bb
+++ b/packages/autoconf/autoconf_2.61.bb
@@ -1,20 +1,13 @@
-DESCRIPTION = "A package of M4 macros to produce scripts to \
-automatically configure sourcecode."
-LICENSE = "GPL"
-HOMEPAGE = "http://www.gnu.org/software/autoconf/"
-SECTION = "devel"
+require autoconf.inc
+
DEPENDS += "m4-native"
RDEPENDS_${PN} = "m4 gnu-config"
-SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
- file://program_prefix.patch;patch=1 \
- file://autoreconf-include.patch;patch=1 \
+SRC_URI += "file://autoreconf-include.patch;patch=1 \
file://autoreconf-exclude.patch;patch=1 \
file://autoreconf-foreign.patch;patch=1 \
file://autoreconf-gnuconfigize.patch;patch=1 \
file://autoheader-nonfatal-warnings.patch;patch=1 \
${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
-inherit autotools
-
DEFAULT_PREFERENCE = "-1"