summaryrefslogtreecommitdiff
path: root/opie-networksettings
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-11-27 11:48:37 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-11-27 11:48:37 +0000
commit9d8e32e606c021113800d864e90484fd0595832e (patch)
tree0f504f80d326750d49163bf1cc7e4e64135da91a /opie-networksettings
parent80e85c0a8664aa9e5008268ed03c6c1cd30366bb (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2004/11/27 12:48:07+01:00 uni-frankfurt.de!mickeyl use ${HANDHELDS_CVS} (see default in oe.conf) instead of hardcoding cvs://cvs.handhelds.org/... 2004/11/27 12:46:42+01:00 uni-frankfurt.de!mickeyl download zbedic from cvs BKrev: 41a86995A2uN5wW4nZHxDvYiHvh3-A
Diffstat (limited to 'opie-networksettings')
-rw-r--r--opie-networksettings/opie-networksettings_1.1.7.oe49
-rw-r--r--opie-networksettings/opie-networksettings_cvs.oe8
2 files changed, 53 insertions, 4 deletions
diff --git a/opie-networksettings/opie-networksettings_1.1.7.oe b/opie-networksettings/opie-networksettings_1.1.7.oe
index e69de29bb2..bd491aa98c 100644
--- a/opie-networksettings/opie-networksettings_1.1.7.oe
+++ b/opie-networksettings/opie-networksettings_1.1.7.oe
@@ -0,0 +1,49 @@
+DESCRIPTION = "Opie Network Settings"
+SECTION = "opie/settings"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PROVIDES = "opie-networksettings-pppplugin opie-networksettings-wlanplugin"
+APPNAME = "networksettings"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/networksettings \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/root"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+EXTRA_QMAKEVARS_POST += "LIBS+=-L${S}"
+
+do_install() {
+ # Create dir for changedns and the opie-kppp peer
+ install -d ${D}/${bindir}/
+ install -d ${D}/${sysconfdir}/
+ install -d ${D}/${sysconfdir}/ppp/
+ install -d ${D}/${sysconfdir}/ppp/peers/
+
+ install -d ${D}/${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}/${palmtopdir}/pics/Network/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.* ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/Network/*.* ${D}${palmtopdir}/pics/Network/
+ install -d ${D}/${palmtopdir}/lib/
+ oe_libinstall -so libinterfaces ${D}${palmtopdir}/lib
+ install -d ${D}/${palmtopdir}/plugins/networksettings/
+ for plugin in kppp wlan
+ do
+ install lib$plugin.so ${D}/${palmtopdir}/plugins/networksettings/
+ done
+
+ # install changedns script
+ install -m 0755 ${WORKDIR}/root/usr/bin/changedns ${D}${bindir}/
+ install -m 0644 ${WORKDIR}/root/etc/ppp/peers/opie-kppp ${D}${sysconfdir}/ppp/peers
+}
+
+PACKAGES =+ "opie-networksettings-pppplugin opie-networksettings-wlanplugin"
+FILES_${PN} += " ${bindir}/changedns "
+FILES_opie-networksettings-pppplugin = "${palmtopdir}/plugins/networksettings/libkppp.so ${sysconfdir}/ppp/peers/opie-kppp"
+FILES_opie-networksettings-wlanplugin = "${palmtopdir}/plugins/networksettings/libwlan.so"
+
diff --git a/opie-networksettings/opie-networksettings_cvs.oe b/opie-networksettings/opie-networksettings_cvs.oe
index b73b7b64ab..0a0ac15f9c 100644
--- a/opie-networksettings/opie-networksettings_cvs.oe
+++ b/opie-networksettings/opie-networksettings_cvs.oe
@@ -8,10 +8,10 @@ PV = "1.1.7+cvs-${CVSDATE}"
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/root"
+SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/settings/networksettings \
+ ${HANDHELDS_CVS};module=opie/pics \
+ ${HANDHELDS_CVS};module=opie/apps \
+ ${HANDHELDS_CVS};module=opie/root"
S = "${WORKDIR}/${APPNAME}"