From a3d2802e6a82078da17675c85b5c023ce37a2a7f 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 | 18 ++++++++++++++++++ strata/network-security/nspr.morph | 6 ++++++ strata/network-security/nss.morph | 7 +++++++ 3 files changed, 31 insertions(+) create mode 100644 strata/network-security.morph create mode 100644 strata/network-security/nspr.morph create mode 100644 strata/network-security/nss.morph diff --git a/strata/network-security.morph b/strata/network-security.morph new file mode 100644 index 00000000..6bc7dc26 --- /dev/null +++ b/strata/network-security.morph @@ -0,0 +1,18 @@ +name: network-security +kind: stratum +build-depends: [] +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..a5224fb4 --- /dev/null +++ b/strata/network-security/nspr.morph @@ -0,0 +1,6 @@ +name: nspr +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix=$PREFIX --with-mozilla --with-pthreads $([ $(uname -m) = x86_64 + ] && echo --enable-64bit) 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