CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: fixed use of CFLAGS
[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
ab2fe172 8version=1.0.1c
6dca1d21
JB
9release=1
10source=(http://www.openssl.org/source/$name-$version.tar.gz \
11 mksslcert.sh)
12
13build() {
14 cd $name-$version
343a641a 15 ./Configure linux-generic32 --prefix=/usr --openssldir=/etc/ssl shared
2edd1d4a 16 sed -i Makefile -e "s|-O3 -fomit-frame-pointer|$CFLAGS|"
343a641a
VM
17 make
18 make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
6dca1d21
JB
19 find $PKG -name "*fips*" -delete
20 chmod -R +w $PKG
21 install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
22}