diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-03-11 19:06:39 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-03-11 19:06:39 +0000 |
commit | d78994e8136e65d1cda9a9a5016e0e92a9b63bd4 (patch) | |
tree | 27ee620235bdd1ffb28266ee0c287f833cab2264 | |
parent | e0beacec71e8075fcadf4a3b58e0e81f21d6137f (diff) | |
parent | 51053d021c7d57e379e088fc0592895df748e0b1 (diff) |
merge of '0c29b5c42b77169131d341373bedf1d5faf4af83'
and 'b6e208df4ac3f681a9a18f6b4cdaac3850de571c'
-rw-r--r-- | packages/exmap-console/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/exmap-console/exmap-console.inc | 61 | ||||
-rw-r--r-- | packages/exmap-console/exmap-console_0.4.bb | 2 | ||||
-rw-r--r-- | packages/exmap-console/exmap-console_svn.bb | 10 | ||||
-rw-r--r-- | packages/qpe-games/ziq_1.1ern.bb | 2 |
5 files changed, 75 insertions, 0 deletions
diff --git a/packages/exmap-console/.mtn2git_empty b/packages/exmap-console/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/exmap-console/.mtn2git_empty diff --git a/packages/exmap-console/exmap-console.inc b/packages/exmap-console/exmap-console.inc new file mode 100644 index 0000000000..4c107d5f07 --- /dev/null +++ b/packages/exmap-console/exmap-console.inc @@ -0,0 +1,61 @@ +DESCRIPTION = "Console based version of exmap, a memory usage analysis tool" +HOMEPAGE = "http://projects.o-hand.com/exmap-console" +SECTION = "devel" +LICENSE = "GPL" +DEPENDS = "virtual/kernel" + +SRC_URI = "http://projects.o-hand.com/sources/exmap-console/exmap-console-${PV}.tgz" + +inherit module-base +inherit autotools + +MYPV := "${PV}" + +PACKAGES += "exmap-server kernel-module-exmap" + +FILES_exmap-console = "${bindir}/exmap ${bindir}/exmapd" +PACKAGE_ARCH_exmap-console = "${TARGET_ARCH}" +RDEPENDS_exmap-console += "kernel-module-exmap" + +FILES_exmap-server = "${bindir}/exmapserver" +PACKAGE_ARCH_exmap-server = "${TARGET_ARCH}" +RDEPENDS_exmap-server += "kernel-module-exmap" + +FILES_kernel-module-exmap = "${base_libdir}" +PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}" +PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}" +RDEPENDS_kernel-module-exmap += "kernel (${KERNEL_VERSION})" + +S = "${WORKDIR}/exmap-console-${PV}" + +export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" + +do_compile() { + cd ${S}/src + make + + cd ${S}/kernel + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ + KERNEL_SRC=${STAGING_KERNEL_DIR} \ + KERNEL_VERSION=${KERNEL_VERSION} \ + CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ + ${MAKE_TARGETS} +} + +do_install() { + oe_runmake 'DESTDIR=${D}' 'DEPMOD=/bin/true' install +} + +pkg_postinst_append_kernel-module-exmap () { + if [ -n "$D" ]; then + exit 1 + fi + depmod -a + update-modules || true +} + +pkg_postrm_append_kernel-module-exmap () { + update-modules || true +} + diff --git a/packages/exmap-console/exmap-console_0.4.bb b/packages/exmap-console/exmap-console_0.4.bb new file mode 100644 index 0000000000..5d89f04937 --- /dev/null +++ b/packages/exmap-console/exmap-console_0.4.bb @@ -0,0 +1,2 @@ +require exmap-console.inc + diff --git a/packages/exmap-console/exmap-console_svn.bb b/packages/exmap-console/exmap-console_svn.bb new file mode 100644 index 0000000000..9e6ca80dc0 --- /dev/null +++ b/packages/exmap-console/exmap-console_svn.bb @@ -0,0 +1,10 @@ +PR = "r10" +PV = "0.4+svn${SRCDATE}" + +SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" + +S = "${WORKDIR}/exmap-console" + +MYPV := "${PV}" +PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}" + diff --git a/packages/qpe-games/ziq_1.1ern.bb b/packages/qpe-games/ziq_1.1ern.bb index fe41a7489e..f51805f1d8 100644 --- a/packages/qpe-games/ziq_1.1ern.bb +++ b/packages/qpe-games/ziq_1.1ern.bb @@ -10,6 +10,7 @@ SRC_URI = "http://handhelds.org/~zecke/oe_packages/ziq_V1.1ern.tar.gz \ file://ziq.patch;patch=1" PV = "1.1ern" +PR = "r1" S = "${WORKDIR}/ziq_V${PV}" @@ -21,6 +22,7 @@ APPDESKTOP = "${S}" do_install () { install -d ${D}${palmtopdir}/apps/Games/ install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/apps/Games install -m 0644 ${S}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ install -m 0644 ${S}/${APPNAME}.desktop ${D}${palmtopdir}/apps/Games } |