summaryrefslogtreecommitdiffstats
path: root/openssl/Pkgfile.old
blob: 64bf68bf85b479cccfdd11e6bcfa58731cfefb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Secure Sockets Layer and Transport Layer Security tools
# URL:         http://www.openssl.org/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=openssl
version=1.0.0c
release=1
source=(http://www.openssl.org/source/$name-$version.tar.gz \
        mksslcert.sh)

build() {
    cd $name-$version
    ./config --prefix=/usr --openssldir=/etc/ssl shared
    sed -i "s|-O3 -fomit-frame-pointer|$CFLAGS|" Makefile
    make -j1
    make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
    find $PKG -name "*fips*" -delete
    chmod -R +w $PKG
    install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
}