From e4f5b7240d12c203b48f177decc4593b542be826 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Tue, 26 Aug 2014 14:23:33 +0000 Subject: Add network-security stratum morphology This add nss and nspr to a stratum to be shared for different systems. --- strata/network-security.morph | 19 +++++++++++++++++++ strata/network-security/nspr.morph | 12 ++++++++++++ strata/network-security/nss.morph | 7 +++++++ 3 files changed, 38 insertions(+) create mode 100644 strata/network-security.morph create mode 100644 strata/network-security/nspr.morph create mode 100644 strata/network-security/nss.morph (limited to 'strata') diff --git a/strata/network-security.morph b/strata/network-security.morph new file mode 100644 index 00000000..3d0c7814 --- /dev/null +++ b/strata/network-security.morph @@ -0,0 +1,19 @@ +name: network-security +kind: stratum +build-depends: +- morph: strata/core.morph +chunks: +- name: nspr + morph: strata/network-security/nspr.morph + repo: upstream:nspr-hg + ref: a6ee84946475c1fb7624973af28163f6da247c0d + unpetrify-ref: baserock/morph + build-depends: [] +- name: nss + morph: strata/network-security/nss.morph + repo: upstream:nss + ref: ee1c99a3c8c29f50a91ab28f2f7b7773f6355487 + unpetrify-ref: baserock/morph + build-depends: + - nspr + diff --git a/strata/network-security/nspr.morph b/strata/network-security/nspr.morph new file mode 100644 index 00000000..27613eb4 --- /dev/null +++ b/strata/network-security/nspr.morph @@ -0,0 +1,12 @@ +name: nspr +kind: chunk +build-system: autotools +configure-commands: +- | + case "$MORPH_ARCH" in + x86_64|ppc64) + EXTRA_ARGS="--enable-64bit";; + *) + EXTRA_ARGS="";; + esac + ./configure --prefix="$PREFIX" --with-mozilla --with-pthreads $EXTRA_ARGS diff --git a/strata/network-security/nss.morph b/strata/network-security/nss.morph new file mode 100644 index 00000000..c83fd174 --- /dev/null +++ b/strata/network-security/nss.morph @@ -0,0 +1,7 @@ +name: nss +kind: chunk +max-jobs: 1 +build-system: autotools +configure-commands: +- NOCONFIGURE=1 ./autogen.sh +- ./configure --prefix="$PREFIX" --libdir="$PREFIX/lib" -- cgit v1.2.1