summaryrefslogtreecommitdiff
path: root/elements/core/openssl-new.bst
blob: 9bad3cd203f674b08f5b471b76b9457fa8100947 (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
kind: manual
depends:
- gnu-toolchain.bst
- core/perl.bst
sources:
- kind: git
  url: upstream:openssl-new
  track: OpenSSL_1_0_2k
  ref: 081314d07705aa58912845c213a48414d8f616a9
variables:
  notparallel: true
config:
  configure-commands:
  - sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile
  - |
    if [ "$(uname -m)" = "ppc64" ]; then
        sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="%{prefix}" --libdir=lib shared
    else
        ./config --openssldir=/etc/ssl --prefix="%{prefix}" --libdir=lib shared
    fi
  build-commands:
  - make
  install-commands:
  - make INSTALL_PREFIX="%{install-root}" install_sw