openssl 3.2.1-1
This commit is contained in:
commit
7e0d22f2b0
46
PKGBUILD
Normal file
46
PKGBUILD
Normal file
@ -0,0 +1,46 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=openssl
|
||||
pkgver=3.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="The Open Source toolkit for Secure Sockets Layer and Transport Layer Security"
|
||||
arch=('x86_64')
|
||||
url="https://www.openssl.org/"
|
||||
license=('Apache-2.0')
|
||||
depends=('glibc')
|
||||
makedepends=('perl')
|
||||
backup=(etc/ssl/openssl.cnf)
|
||||
source=(https://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(83c7329fe52c850677d75e5d0b0ca245309b97e8ecbcfdc1dfdc4ab9fac35b39)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
./config \
|
||||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib64 \
|
||||
shared \
|
||||
zlib-dynamic \
|
||||
linux-x86_64 \
|
||||
enable-ec_nistp_64_gcc_128
|
||||
|
||||
make depend
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
|
||||
|
||||
make DESTDIR=${pkgdir} MANSUFFIX=ssl install
|
||||
|
||||
mv -v ${pkgdir}/usr/share/doc/openssl ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
|
||||
|
||||
cp -vfr doc/* ${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
|
||||
}
|
Loading…
Reference in New Issue
Block a user