first commit

This commit is contained in:
ngn
2024-07-09 16:44:10 +03:00
commit e1683c711c
66 changed files with 1364 additions and 0 deletions

3
src/zlib/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/zlib/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.3.1
First version

23
src/zlib/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
# general info
NAME="zlib"
DESC="Free, general-purpose, legally unencumbered lossless data-compression library"
VERSION="1.3.1"
# required files
FILES=("https://zlib.net/fossils/zlib-${VERSION}.tar.gz")
HASHES=("9855b6d802d7fe5b7bd5b196a2271655")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr
make && make DESTDIR="${ROOTDIR}" install
rm -f "${ROOTDIR}/usr/lib/libz.a"
cd .. && rm -r "${NAME}-${VERSION}"
}