summaryrefslogtreecommitdiffstats
path: root/openssl/Pkgfile
blob: 6d2be800feebd5f966972aeab592979e1e92c29c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
description="Secure Sockets Layer and Transport Layer Security tools."
maintainer="Lukc <lukc AT upyum DOT com>"
packager="CRUX System Team <core-ports AT crux DOT nu>"
url="http://www.openssl.org/"
depends=()

name=openssl
version=1.0.0c
release=1
source=(http://www.openssl.org/source/$name-$version.tar.gz mksslcert.sh)
build () 
{ 
	cd $name-$version;
	./Configure linux-generic32 \
		--prefix=$prefix \
		--openssldir=/etc/ssl \
		shared;
	sed -i -e "s|-O3 -fomit-frame-pointer|$CFLAGS|" Makefile;
	make -j1 ${CTARGET:+CC=$CTARGET-gcc RANLIB=$CTARGET-ranlib};
	make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=$mandir MANSUFFIX=ssl install;
	find $PKG -name "*fips*" -delete;
	chmod -R +w $PKG;
	install -D -m 755 $SRC/mksslcert.sh $PKG$prefix/bin/mksslcert
}