CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
m4: updated mandir
[crossrootfs.git] / openssl / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: Secure Sockets Layer and Transport Layer Security tools
2# URL: http://www.openssl.org/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
50162118 5# Depends on:
6dca1d21
JB
6
7name=openssl
36b252e2 8version=1.0.2d
6dca1d21
JB
9release=1
10source=(http://www.openssl.org/source/$name-$version.tar.gz \
11 mksslcert.sh)
12
13build() {
14 cd $name-$version
36b252e2
VM
15
16 export MAKEFLAGS="$MAKEFLAGS -j1"
17
343a641a 18 ./Configure linux-generic32 --prefix=/usr --openssldir=/etc/ssl shared
36b252e2
VM
19
20 sed -i Makefile -e "s|-O3|$CFLAGS|"
21
22 make
23 make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/share/man MANSUFFIX=ssl install
24
6dca1d21
JB
25 find $PKG -name "*fips*" -delete
26 chmod -R +w $PKG
27 install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
28}