aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/nspr-tools-native.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-16 09:35:50 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-16 09:36:54 +0200
commit199effd4c7b1b62bc133a577e42d7043ee7202e7 (patch)
treee6a64de6bb60d05dd7a650e9a7c4be9c3d787913 /recipes/mozilla/nspr-tools-native.inc
parente460fae9ddb604dce5919b2280c1eca431d32766 (diff)
downloadopenembedded-199effd4c7b1b62bc133a577e42d7043ee7202e7.tar.gz
nspr 4.7.1: import from jalimo overlay, convert to new style staging and checksums
Diffstat (limited to 'recipes/mozilla/nspr-tools-native.inc')
-rw-r--r--recipes/mozilla/nspr-tools-native.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/mozilla/nspr-tools-native.inc b/recipes/mozilla/nspr-tools-native.inc
new file mode 100644
index 0000000000..86c809c2b3
--- /dev/null
+++ b/recipes/mozilla/nspr-tools-native.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "Tools needed to be injected into a cross-compilation NSPR build"
+HOMEPAGE = "https://www.mozilla.org/projects/nspr"
+LICENSE = "MPL1.1 GPL LGPL"
+
+S = "${WORKDIR}/nspr-${PV}/mozilla/nsprpub"
+
+inherit native autotools
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/nspr-${PV}"
+
+do_compile() {
+ # Build 'now' and 'nsinstall' only.
+ oe_runmake -C config now nsinstall
+}
+
+NATIVE_INSTALL_WORKS = "1"
+
+do_install() {
+ install -d ${D}${bindir}/nspr-${PV}
+ install -m 0755 config/now ${D}${bindir}/nspr-${PV}
+ install -m 0755 config/nsinstall ${D}${bindir}/nspr-${PV}
+}