2008-10-24 04:46:29 +00:00
|
|
|
# Template file for 'openssl'
|
|
|
|
pkgname=openssl
|
2009-03-28 10:55:04 +00:00
|
|
|
sourcepkg=$pkgname
|
2009-02-04 02:40:25 +00:00
|
|
|
openssl_version=0.9.8
|
2009-03-28 10:55:04 +00:00
|
|
|
version=${openssl_version}k
|
2008-10-28 22:57:52 +00:00
|
|
|
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
|
2008-10-24 04:46:29 +00:00
|
|
|
build_style=configure
|
2009-02-04 02:40:25 +00:00
|
|
|
configure_script="./config"
|
2008-10-24 04:46:29 +00:00
|
|
|
configure_args="--prefix=/usr
|
2008-10-24 23:36:39 +00:00
|
|
|
--install_prefix=$XBPS_DESTDIR/$pkgname-$version --openssldir=/etc/ssl
|
2008-10-24 04:46:29 +00:00
|
|
|
zlib-dynamic shared threads"
|
|
|
|
make_build_target="all"
|
|
|
|
short_desc="Secure Socket Layer and cryptographic library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-03-28 10:55:04 +00:00
|
|
|
checksum=7e7cd4f3974199b729e6e3a0af08bd4279fde0370a1120c1a3b351ab090c6101
|
2008-10-24 04:46:29 +00:00
|
|
|
long_desc="
|
|
|
|
The OpenSSL Project is a collaborative effort to develop a robust,
|
|
|
|
commercial-grade, full-featured, and Open Source toolkit implementing the
|
|
|
|
Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
|
|
|
protocols as well as a full-strength general purpose cryptography library."
|
|
|
|
|
2008-10-29 21:45:09 +00:00
|
|
|
# Does not build with -j.
|
|
|
|
disable_parallel_build=yes
|
2008-12-14 00:48:36 +00:00
|
|
|
keep_dirs="/etc/ssl"
|
|
|
|
conf_files="/etc/ssl/openssl.cnf"
|
2009-02-25 05:15:20 +00:00
|
|
|
subpackages="devel"
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full zlib
|
|
|
|
Add_dependency build perl
|
2008-10-24 04:46:29 +00:00
|
|
|
|
2008-10-27 05:12:30 +00:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Grr. Stupid Makefile, remove stuff installed in wrong dir.
|
2009-03-11 05:31:56 +00:00
|
|
|
rm -rf $DESTDIR/usr/usr
|
2009-02-04 02:40:25 +00:00
|
|
|
|
|
|
|
# Fix for correct SONAME in shared libs.
|
2009-03-11 05:31:56 +00:00
|
|
|
cd $DESTDIR/usr/lib || exit 1
|
2009-02-04 02:40:25 +00:00
|
|
|
for f in libssl libcrypto; do
|
|
|
|
ln -sf $f.so.${openssl_version} $f.so.7
|
|
|
|
done
|
2008-10-27 05:12:30 +00:00
|
|
|
}
|