summaryrefslogtreecommitdiffstats
path: root/base/openssl/Pkgfile
blob: 72a8894fc3f9901de2c2c389965dff28eb7e3dec (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
25
26
# Description: Secure Sockets Layer and Transport Layer Security tools
# URL: http://www.openssl.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=openssl
version=1.0.0c
release=1
source=(http://www.openssl.org/source/$name-$version.tar.gz
	openssl-1.0.0c-ca-dir.patch
	openssl-1.0.0c-no-rpath.patch)


build() {
	unset MAKEFLAGS
	cd $name-$version
	patch -p0 -i ../openssl-1.0.0c-no-rpath.patch
	patch -p0 -i ../openssl-1.0.0c-ca-dir.patch
	./config --prefix=/usr \
		--openssldir=/etc/ssl \
		--libdir=lib \
		shared zlib enable-md2 -Wa,--noexecstack
	make
	make INSTALL_PREFIX=$PKG MANDIR=/usr/share/man MANSUFFIX=ssl install
	cp -v -r certs $PKG/etc/ssl
}