first commit
This commit is contained in:
3
src/zlib/.gitignore
vendored
Normal file
3
src/zlib/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/zlib/changes.md
Normal file
2
src/zlib/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.3.1
|
||||
First version
|
23
src/zlib/pkg.sh
Normal file
23
src/zlib/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user