LICENSE = "GPL"
PROVIDES = "opie-networksettings-pppplugin opie-networksettings-wlanplugin"
PV = "1.1.6-${CVSDATE}"
-PR = "r1"
+PR = "r2"
APPNAME = "networksettings"
SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/settings/networksettings \
cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps"
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps \
+ cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/root"
S = "${WORKDIR}/${APPNAME}"
EXTRA_QMAKEVARS_POST += "LIBS+=-L${S}"
do_install() {
+ install -d ${D}/${bindir}/
install -d ${D}/${palmtopdir}/pics/${APPNAME}/
install -d ${D}/${palmtopdir}/pics/Network/
install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.* ${D}${palmtopdir}/pics/${APPNAME}/
do
install lib$plugin.so ${D}/${palmtopdir}/plugins/networksettings/
done
+
+ # install changedns script
+ install -m 0644 ${WORKDIR}/root/usr/bin/changedns ${D}${bindir}/
}
PACKAGES =+ "opie-networksettings-pppplugin opie-networksettings-wlanplugin"
+FILES_${PN} += " ${bindir}/changedns "
FILES_opie-networksettings-pppplugin = "${palmtopdir}/plugins/networksettings/libkppp.so"
FILES_opie-networksettings-wlanplugin = "${palmtopdir}/plugins/networksettings/libwlan.so"
cat $OPIEDIR/etc/skel/qpe.conf >$HOME/Settings/qpe.conf
fi
+if [ ! -e "$HOME/Settings/locale.conf" -a -e "$OPIEDIR/etc/skel/locale.conf" ] ; then
+ cat $OPIEDIR/etc/skel/locale.conf >$HOME/Settings/locale.conf
+fi
+
case $1 in
'start')
/sbin/getkey 5 "Starting Opie in 5 seconds... press key to interrupt." && exit 0
file://server.pro \
file://opie-reorgfiles \
file://opie \
- file://qpe.conf"
+ file://qpe.conf \
+ file://locale.conf "
S = "${WORKDIR}/launcher"
install -m 0755 ${WORKDIR}/opie ${D}/etc/init.d/opie
install -m 0644 ${WORKDIR}/qpe.conf ${D}/${palmtopdir}/etc/skel/
+ if [ -s ${WORKDIR}/locale.conf ]; then
+ install -m 0644 ${WORKDIR}/locale.conf ${D}/${palmtopdir}/etc/skel/
+ fi
}
# These two should be installed only on devices with keyboard