3 DEPENDS_append = " openssl"
7 PROVIDES =+ "virtual/update-alternatives"
8 RPROVIDES_${PN} = "update-alternatives"
9 PACKAGES =+ "libopkg-dev libopkg"
10 RPROVIDES_${PN} += "update-alternatives"
12 FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
13 FILES_libopkg = "${libdir}/*.so.*"
14 # not happens automatically for opkg-nogpg:
15 FILES_${PN} += "${datadir}/opkg/intercept"
17 # Define a variable to allow distros to run configure earlier.
18 # (for example, to enable loading of ethernet kernel modules before networking starts)
19 OPKG_INIT_POSITION = "98"
20 OPKG_INIT_POSITION_slugos = "41"
22 pkg_postinst_${PN} () {
23 update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
27 update-alternatives --remove opkg ${bindir}/opkg-cl