perl: move to base, openssl: bump to 3.0.0
This commit is contained in:
parent
55ce7cece0
commit
d84cf4da05
2 changed files with 18 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
pkgname=openssl
|
||||
pkgver=1.1.1k
|
||||
pkgver=3.0.0
|
||||
ext="dev"
|
||||
|
||||
fetch() {
|
||||
curl "https://www.openssl.org/source/openssl-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
|
@ -12,7 +13,7 @@ build() {
|
|||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib \
|
||||
linux-$(uname -m) \
|
||||
linux-generic64 \
|
||||
shared no-zlib no-async \
|
||||
no-comp no-idea no-mdc2 \
|
||||
no-rc5 no-ec2m no-sm2 \
|
||||
|
@ -26,10 +27,23 @@ build() {
|
|||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install_sw DESTDIR=$pkgdir
|
||||
rm -rf $pkgdir/usr/lib/pkgconf
|
||||
rm -rf $pkgdir/usr/include
|
||||
}
|
||||
|
||||
package_dev() {
|
||||
cd $pkgname-$pkgver
|
||||
make install_sw DESTDIR=$pkgdir
|
||||
rm -rf $pkgdir/usr/bin
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
|
||||
echo 'Copyright 20xx-20yy The OpenSSL Project Authors. All Rights Reserved.'
|
||||
echo
|
||||
echo 'Licensed under the Apache License 2.0 (the "License"). You may not use'
|
||||
echo 'this file except in compliance with the License. You can obtain a copy'
|
||||
echo 'in the file LICENSE in the source distribution or at'
|
||||
echo 'https://www.openssl.org/source/license.html'
|
||||
}
|
||||
|
|
53
base/perl/build.sh
Normal file
53
base/perl/build.sh
Normal file
|
@ -0,0 +1,53 @@
|
|||
pkgname=perl
|
||||
pkgver=5.32.1
|
||||
|
||||
fetch() {
|
||||
curl "https://www.cpan.org/src/5.0/perl-5.32.1.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./Configure -des \
|
||||
-Dccflags="$CFLAGS" \
|
||||
-Dcccdlflags='-fPIC' \
|
||||
-Dcccdlflags='-fPIC' \
|
||||
-Dccdlflags='-rdynamic' \
|
||||
-Dprefix=/usr \
|
||||
-Dprivlib=/usr/share/perl5/core_perl \
|
||||
-Darchlib=/usr/lib/perl5/core_perl \
|
||||
-Dvendorprefix=/usr \
|
||||
-Dvendorlib=/usr/share/perl5/vendor_perl \
|
||||
-Dvendorarch=/usr/lib/perl5/vendor_perl \
|
||||
-Dsiteprefix=/usr/local \
|
||||
-Dsitelib=/usr/local/share/perl5/site_perl \
|
||||
-Dsitearch=/usr/local/lib/perl5/site_perl \
|
||||
-Dlocincpth=' ' \
|
||||
-Duselargefiles \
|
||||
-Dusethreads \
|
||||
-Duseshrplib \
|
||||
-Dd_semctl_semun \
|
||||
-Dman1dir=/usr/share/man/man1 \
|
||||
-Dman3dir=/usr/share/man/man3 \
|
||||
-Dinstallman1dir=/usr/share/man/man1 \
|
||||
-Dinstallman3dir=/usr/share/man/man3 \
|
||||
-Dman1ext='1' \
|
||||
-Dman3ext='3pm' \
|
||||
-Dcf_by='Iglunix' \
|
||||
-Ud_csh \
|
||||
-Dusenm
|
||||
|
||||
make libperl.so && make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
rm -rf $pkgdir/usr/share/man
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat Copying
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue