CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: updated to 4.2.42
[ports/core-arm.git] / openssl / Pkgfile
CommitLineData
aebf4d18
VM
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
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5
6name=openssl
7version=1.0.1c
8release=1
9source=(http://www.openssl.org/source/$name-$version.tar.gz \
10 mksslcert.sh)
11
12build() {
13 cd $name-$version
14 export MAKEFLAGS="$MAKEFLAGS -j1"
15
16 # Removed armv7 optimization to build armv5 binaries
17 sed "s|-march=armv7-a||g" -i config
18
19 ./config --prefix=/usr --openssldir=/etc/ssl shared
20 sed -i "s|-O3|$CFLAGS|" Makefile
21 make
22 make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
23 find $PKG -name "*fips*" -delete
24 chmod -R +w $PKG
25 install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
26}