summaryrefslogtreecommitdiff
path: root/packages/opie-networksettings
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-networksettings
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-networksettings')
-rw-r--r--packages/opie-networksettings/.mtn2git_empty0
-rw-r--r--packages/opie-networksettings/opie-networksettings.inc51
-rw-r--r--packages/opie-networksettings/opie-networksettings_1.2.0.bb9
3 files changed, 60 insertions, 0 deletions
diff --git a/packages/opie-networksettings/.mtn2git_empty b/packages/opie-networksettings/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-networksettings/.mtn2git_empty
diff --git a/packages/opie-networksettings/opie-networksettings.inc b/packages/opie-networksettings/opie-networksettings.inc
index e69de29bb2..9a9a88417d 100644
--- a/packages/opie-networksettings/opie-networksettings.inc
+++ b/packages/opie-networksettings/opie-networksettings.inc
@@ -0,0 +1,51 @@
+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"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+PARALLEL_MAKE = ""
+
+EXTRA_QMAKEVARS_POST += "LIBS+=-L${S}"
+
+do_stage() {
+ oe_libinstall -so libinterfaces ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/interfaces/
+ install -m 0644 interfaces/*.h ${STAGING_INCDIR}/interfaces/
+}
+
+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${bindir}/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/packages/opie-networksettings/opie-networksettings_1.2.0.bb b/packages/opie-networksettings/opie-networksettings_1.2.0.bb
index e69de29bb2..839db3c44b 100644
--- a/packages/opie-networksettings/opie-networksettings_1.2.0.bb
+++ b/packages/opie-networksettings/opie-networksettings_1.2.0.bb
@@ -0,0 +1,9 @@
+include ${PN}.inc
+
+
+PR = "r0"
+
+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"