summaryrefslogtreecommitdiff
path: root/recipes/mozilla/nspr.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.inc
parente460fae9ddb604dce5919b2280c1eca431d32766 (diff)
nspr 4.7.1: import from jalimo overlay, convert to new style staging and checksums
Diffstat (limited to 'recipes/mozilla/nspr.inc')
-rw-r--r--recipes/mozilla/nspr.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes/mozilla/nspr.inc b/recipes/mozilla/nspr.inc
new file mode 100644
index 0000000000..9afaff97ea
--- /dev/null
+++ b/recipes/mozilla/nspr.inc
@@ -0,0 +1,37 @@
+DESCRIPTION = "Platform independent non-GUI operating system facilities."
+HOMEPAGE = "https://www.mozilla.org/projects/nspr"
+LICENSE = "MPL1.1 GPL LGPL"
+
+PR = "r1"
+
+DEPENDS = "nspr-tools-native"
+
+S = "${WORKDIR}/${P}/mozilla/nsprpub"
+
+inherit autotools
+
+EXTRA_OECONF = "\
+ --enable-ipv6 \
+ --with-mozilla \
+ --includedir=${includedir}/mozilla/nspr \
+ "
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_compile_prepend() {
+ cp ${STAGING_BINDIR_NATIVE}/${P}/now config/now
+ touch config/now
+
+ cp ${STAGING_BINDIR_NATIVE}/${P}/nsinstall config/nsinstall
+ touch config/nsinstall
+}
+
+do_install_prepend() {
+ cp ${STAGING_BINDIR_NATIVE}/${P}/now config/now
+ touch config/now
+
+ cp ${STAGING_BINDIR_NATIVE}/${P}/nsinstall config/nsinstall
+ touch config/nsinstall
+}
+
+LEAD_SONAME = "libnspr4.so"