summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-04 08:59:02 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-04 08:59:02 +0000
commit01d89442ec83daafb95343634768ffc86a61b68e (patch)
tree610dc0cc4350678a89098cea8952bc695cc756a8 /packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
parent7c89c8d4a8902ae8d59db3df91fd6da73ae2e056 (diff)
update-alternatives: add from poky
* Poky rev 728: "Sync up.. all the deb/dpkg changes which I have locally are now in svn."
Diffstat (limited to 'packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb')
-rw-r--r--packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb b/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
new file mode 100644
index 0000000000..a07d5e36d4
--- /dev/null
+++ b/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
@@ -0,0 +1,12 @@
+require update-alternatives-dpkg.inc
+
+RPROVIDES_${PN} = "update-alternatives"
+RDEPENDS_${PN} = "perl dpkg"
+
+do_install () {
+ install -d ${D}${sbindir} \
+ ${D}${localstatedir}/dpkg/alternatives \
+ ${D}${sysconfdir}/alternatives
+
+ install -m 0755 scripts/update-alternatives ${D}${sbindir}/update-alternatives
+}