diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-02-02 22:07:05 +0000 |
commit | 73ef7b5c0de85525c666e4cb8e0421bae4ec147e (patch) | |
tree | 6ab35cf3505f2ae8069386dd705f8a00f23d8265 /packages/opie-networksettings | |
parent | 7b57ac2ec7359b00a7ab046a40ab037cb90177c2 (diff) |
compute TAG line in opie.bbclass instead of in (all) opie files
BKrev: 42014f09KAfHSQPBUOyP1omr2yGkzA
Diffstat (limited to 'packages/opie-networksettings')
-rw-r--r-- | packages/opie-networksettings/opie-networksettings_1.1.9.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/packages/opie-networksettings/opie-networksettings_1.1.9.bb b/packages/opie-networksettings/opie-networksettings_1.1.9.bb index e69de29bb2..de43494f73 100644 --- a/packages/opie-networksettings/opie-networksettings_1.1.9.bb +++ b/packages/opie-networksettings/opie-networksettings_1.1.9.bb @@ -0,0 +1,57 @@ +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" +PR = "r1" + + +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 + +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/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" + |