3 PACKAGES =+ "libopkg-dev libopkg"
5 FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
6 FILES_libopkg = "${libdir}/*.so.*"
8 # Define a variable to allow distros to run configure earlier.
9 # (for example, to enable loading of ethernet kernel modules before networking starts)
10 OPKG_INIT_POSITION = "98"
11 OPKG_INIT_POSITION_slugos = "41"
13 pkg_postinst_${PN} () {
15 if [ "x$D" != "x" ]; then
16 install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
17 # this happens at S98 where our good 'ole packages script used to run
20 " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
21 chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
24 update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
29 update-alternatives --remove opkg ${bindir}/opkg-cl