summaryrefslogtreecommitdiffstats
path: root/meta/packages/update-alternatives/update-alternatives-dpkg_1.13.22.bb
blob: ea759fc202bafc0d60e3a2641c65a8ec759650ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require update-alternatives-dpkg.inc

PROVIDES += "virtual/update-alternatives"
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
}