blob: 9afaff97ea8e676e52c8a2c15d400c66fdbfc840 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
|