git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2880 311d38ba-8fff-0310-9ca6-ca027cbcb966
14 lines
388 B
BlitzBasic
14 lines
388 B
BlitzBasic
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
|
|
}
|