build openssl-fips in KVM root-image
[strongswan.git] / testing / scripts / recipes / 012_openssl.mk
1 #!/usr/bin/make
2
3 PV = 1.0.1e
4 PKG = openssl-$(PV)
5 TAR = $(PKG).tar.gz
6 SRC = http://www.openssl.org/source/$(TAR)
7
8 CONFIG_OPTS = \
9 --prefix=/usr
10 all: install
11
12 $(TAR):
13 wget $(SRC)
14
15 $(PKG): $(TAR)
16 tar xfz $(TAR)
17
18 configure: $(PKG)
19 cd $(PKG) && ./config fips shared $(CONFIG_OPTS)
20
21 build: configure
22 cd $(PKG) && make
23
24 install: build
25 cd $(PKG) && make install
26