autoconf: unify recipes
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 16 Dec 2006 13:29:29 +0000 (13:29 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Sat, 16 Dec 2006 13:29:29 +0000 (13:29 +0000)
packages/autoconf/autoconf-native_2.59.bb
packages/autoconf/autoconf.inc [new file with mode: 0644]
packages/autoconf/autoconf_2.57.bb
packages/autoconf/autoconf_2.59.bb
packages/autoconf/autoconf_2.61.bb

index 92a9257..aa4871e 100644 (file)
@@ -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 (file)
index 0000000..7761af0
--- /dev/null
@@ -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
index 48726b1..6c2906a 100644 (file)
@@ -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
index 3a5c220..5891d1e 100644 (file)
@@ -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
index adac2a6..370315f 100644 (file)
@@ -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"