Patchwork [CONSOLIDATED,PULL,02/14] resolvconf: Update to 1.61

login
register
mail settings
Submitter Saul Wold
Date Oct. 16, 2011, 7:46 a.m.
Message ID <d2a709126af590d46dafc5b777c833b796da9b02.1318751027.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/13271/
State New, archived
Headers show

Comments

Saul Wold - Oct. 16, 2011, 7:46 a.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../resolvconf/resolvconf_1.61.bb                  |   33 ++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-connectivity/resolvconf/resolvconf_1.61.bb
Khem Raj - Oct. 16, 2011, 2:42 p.m.
On Sun, Oct 16, 2011 at 12:46 AM, Saul Wold <sgw@linux.intel.com> wrote:
> +
> +PACKAGE_ARCH = "all"
> +

would it be better to inherit allarch instead ?

Patch

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.61.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.61.bb
new file mode 100644
index 0000000..4d265b6
--- /dev/null
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.61.bb
@@ -0,0 +1,33 @@ 
+SUMMARY = "name server information handler"
+DESCRIPTION = "Resolvconf is a framework for keeping track of the system's \
+information about currently available nameservers. It sets \
+itself up as the intermediary between programs that supply \
+nameserver information and programs that need nameserver \
+information."
+SECTION = "console/network"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
+AUTHOR = "Thomas Hood"
+HOMEPAGE = "http://packages.debian.org/resolvconf"
+DEPENDS = "bash"
+RDEPENDS_${PN} = "bash"
+PR = "r0"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
+
+do_compile () {
+	:
+}
+
+do_install () {
+	install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
+	install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
+	cp -pPR etc/* ${D}${sysconfdir}/
+	chown -R root:root ${D}${sysconfdir}/
+	install -m 0755 bin/resolvconf ${D}${base_sbindir}/
+	install -m 0644 README ${D}${docdir}/${P}/
+	install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/
+}
+
+PACKAGE_ARCH = "all"
+