added hostapd and openssl
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ./scripts/colors.sh
|
||||
. ./scripts/funcs.sh
|
||||
. ./scripts/config.sh
|
||||
|
||||
set -x
|
||||
|
||||
openssl() {
|
||||
pkgname=openssl
|
||||
pkgver=3.4.1
|
||||
printf "$GREEN** Building and installing ${pkgname}\n$RESET"
|
||||
[ ! -d $build/${pkgname} ] && mkdir $build/${pkgname}
|
||||
cd $build/${pkgname}
|
||||
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz
|
||||
cd ${pkgname}-${pkgver}/
|
||||
./config linux-armv4 CROSS_COMPILE=${CROSS_COMPILE}-
|
||||
check $? "Configure ${pkgname}"
|
||||
make ${makeflags}
|
||||
check $? "Build ${pkgname}"
|
||||
${CROSS_COMPILE}-strip libcrypto.so.3 libssl.so.3
|
||||
check $? "Stripping ${pkgname} binary"
|
||||
cp -v libcrypto.so.3 libssl.so.3 $rootfspath/usr/lib/
|
||||
ln -sv libcrypto.so.3 $rootfspath/usr/lib/libcrypto.so
|
||||
ln -sv libssl.so.3 $rootfspath/usr/lib/libssl.so
|
||||
check $? "Install to rootfs ${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user