CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / openssl / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=openssl
8 version=1.0.2d
9 release=1
10 source=(http://www.openssl.org/source/$name-$version.tar.gz \
11 mksslcert.sh)
12
13 build() {
14 cd $name-$version
15
16 export MAKEFLAGS="$MAKEFLAGS -j1"
17
18 ./Configure linux-generic32 --prefix=/usr --openssldir=/etc/ssl shared
19
20 sed -i Makefile -e "s|-O3|$CFLAGS|"
21
22 make
23 make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/share/man MANSUFFIX=ssl install
24
25 find $PKG -name "*fips*" -delete
26 chmod -R +w $PKG
27 install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
28 }