summaryrefslogtreecommitdiffstats
path: root/openssl/Pkgfile
blob: d7a81ecfd0e15b9a228534b3e01638788008d54b (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.0e
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
}