git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2880 311d38ba-8fff-0310-9ca6-ca027cbcb966
16 lines
426 B
BlitzBasic
16 lines
426 B
BlitzBasic
require update-alternatives-dpkg.inc
|
|
inherit native
|
|
|
|
PROVIDES += "virtual/update-alternatives-native"
|
|
RPROVIDES += "update-alternatives-native"
|
|
DEPENDS += "perl-native dpkg-native"
|
|
DEFAULT_PREFERENCE = "-1"
|
|
|
|
do_stage () {
|
|
install -d ${sbindir} \
|
|
${localstatedir}/dpkg/alternatives \
|
|
${sysconfdir}/alternatives
|
|
|
|
install -m 0755 scripts/update-alternatives ${sbindir}/update-alternatives
|
|
}
|