diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-04-13 10:15:17 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-04-13 10:15:17 +0000 |
commit | 5c231c07e9c7438f8a7e01d7b38ffc18bd6c0b2a (patch) | |
tree | f16ac6108e515a8a9adfaf9a466ede47148bf8fe | |
parent | af3799500cf3e964b5f990e9dad05ad9563a079c (diff) |
add update-rc.d 0.3 courtesy pb_
add libopie2* provides for libopie2
remove extra define in wellenreiter (upstream changed to detect that automatically)
BKrev: 407bbdb5nT_ezmrEAqQQYPbyrWa1gA
-rw-r--r-- | libopie/libopie2_cvs.oe | 62 | ||||
-rw-r--r-- | update-rc.d/update-rc.d_0.3.oe | 0 | ||||
-rw-r--r-- | wellenreiter/wellenreiter_cvs.oe | 22 |
3 files changed, 84 insertions, 0 deletions
diff --git a/libopie/libopie2_cvs.oe b/libopie/libopie2_cvs.oe index e69de29bb2..ede999f075 100644 --- a/libopie/libopie2_cvs.oe +++ b/libopie/libopie2_cvs.oe @@ -0,0 +1,62 @@ +DESCRIPTION = "Base libraries for the Open Integrated Palmtop Environment" +HOMEPAGE = "http://opie.handhelds.org" +SECTION = "opie/libs" +PRIORITY = "optional" +MAINTAINER = "Michael Lauer <mickey@Vanille.de>" +LICENSE = "LGPL" +DEPENDS = "virtual/libc libqpe-opie sqlite libpcap" +PROVIDES = "libopiecore2 libopiedb2 libopiemm2 libopienet2 libopiepim2 libopieui2" +PV = "1.1.3-cvs-${CVSDATE}" + +SRC_URI = "cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/libopie2;date=${CVSDATE}" +S = "${WORKDIR}/libopie2" + +inherit qmake + +export QTDIR = "${STAGING_LIBDIR}/.." +export OPIEDIR = "${STAGING_LIBDIR}/.." + +#FIXME: Add machine specific bits here. Best use oe_machinstall and read from a given file + +EXTRA_QMAKEVARS_POST = ' DEFINES+=OPIE_NEW_MALLOC \ + DEFINES+="OPIE_SOUND_FRAGMENT_SHIFT=16" \ + DEFINES+="OPIE_WE_VERSION=15" ' + +# +# for developing - qmake.oeclass should gather this automatically +# +export QMAKESPEC = "${QMAKE_MKSPEC_PATH}/qws/linux-sharp-g++" + +do_compile() { + install -d ${STAGING_INCDIR}/opie2 + for i in `find . -name "*.h"` + do + install -m 0644 $i ${STAGING_INCDIR}/opie2/`basename $i` + done + oe_runmake MOC=${STAGING_BINDIR}/moc UIC=${STAGING_BINDIR}/uic DESTDIR=${S} +} + +# no staging neessary, becaue +# include files already done during do_compile +# lib files already done during do_compile + +do_install() { + install -d ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopiecore2.so.1.9.0 ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopiedb2.so.1.9.0 ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopiemm2.so.1.9.0 ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopienet2.so.1.8.3 ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopiepim2.so.1.8.6 ${D}${palmtopdir}/lib/ + oe_soinstall ${STAGING_LIBDIR}/libopieui2.so.1.8.5 ${D}${palmtopdir}/lib/ +} + +PACKAGES = "libopiecore2 libopiedb2 libopiemm2 libopienet2 libopiepim2 libopieui2" +FILES_libopiecore2 = "${palmtopdir}/lib/libopiecore2.so.*" +FILES_libopiedb2 = "${palmtopdir}/lib/libopiedb2.so.*" +FILES_libopiemm2 = "${palmtopdir}/lib/libopiemm2.so.*" +FILES_libopienet2 = "${palmtopdir}/lib/libopienet2.so.*" +FILES_libopiepim2 = "${palmtopdir}/lib/libopiepim2.so.*" +FILES_libopieui2 = "${palmtopdir}/lib/libopieui2.so.*" + +#FIXME: Add individual package descriptions and dependencies + diff --git a/update-rc.d/update-rc.d_0.3.oe b/update-rc.d/update-rc.d_0.3.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/update-rc.d/update-rc.d_0.3.oe diff --git a/wellenreiter/wellenreiter_cvs.oe b/wellenreiter/wellenreiter_cvs.oe index e69de29bb2..17a5aaca4f 100644 --- a/wellenreiter/wellenreiter_cvs.oe +++ b/wellenreiter/wellenreiter_cvs.oe @@ -0,0 +1,22 @@ +DESCRIPTION = "A Wireless Network Monitor" +SECTION = "opie/Applications" +PRIORITY = "optional" +MAINTAINER = "Michael Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +DEPENDS = "virtual/libc libopie2" +PV = "1.0.2-cvs-${CVSDATE}" +SRC_URI = "cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/noncore/net/wellenreiter;date=${CVSDATE} \ + cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/pics;date=${CVSDATE} \ + cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/apps;date=${CVSDATE}" + +S = "${WORKDIR}/wellenreiter" + +inherit palmtop + +do_install() { + install -d ${D}${palmtopdir}/{bin,apps/Applications,pics/${PN}} + install -m 0755 ${OPIEDIR}/bin/${PN} ${D}${palmtopdir}/bin/${PN} + install -m 0644 ${WORKDIR}/apps/Applications/${PN}.desktop ${D}${palmtopdir}/Applications/${PN}.desktop + install -m 0644 ${WORKDIR}/pics/${PN}/*.* ${D}${palmtopdir}/pics/${PN}/ +} + |