diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-networksettings/opie-networksettings.inc | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-networksettings/opie-networksettings.inc')
-rw-r--r-- | packages/opie-networksettings/opie-networksettings.inc | 51 |
1 files changed, 51 insertions, 0 deletions
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" + |