added duf and nginx and some refactor

This commit is contained in:
wt
2026-02-28 00:55:00 +07:00
parent 5da3185a36
commit 6a0c6c50f3
28 changed files with 146 additions and 146 deletions
+1 -5
View File
@@ -8,6 +8,7 @@ zlib() {
pkgname=zlib
pkgver=1.3.1
printf "$GREEN** Building and installing ${pkgname}\n$RESET"
[ -d $build/${pkgname} ] && return 0
mkdir $build/${pkgname}
cd $build/${pkgname}
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz
@@ -18,10 +19,5 @@ zlib() {
make $makeflags
check $? "Build ${pkgname}"
make DESTDIR=$rootfspath install
# rm -rv $rootfspath/usr/include $rootfspath/usr/share/man $rootfspath/usr/lib/{pkgconfig,libz.a}
# ${CROSS_COMPILE}-strip --strip-unneeded $rootfspath/usr/lib/libz.so.${pkgver}
check $? "Installing to rootfs ${pkgname}"
# rm -rvf $rootfspath/usr/lib/pkgconfig
# find $rootfspath -type f -name "*.a" -delete
# find $rootfspath -type f -name "*.la" -delete
}