diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/zlib/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/zlib/MAKEPKG')
| -rw-r--r-- | core/zlib/MAKEPKG | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/core/zlib/MAKEPKG b/core/zlib/MAKEPKG new file mode 100644 index 0000000..017579b --- /dev/null +++ b/core/zlib/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Compression library +# url: https://zlib.net + +name=zlib +version=1.3.2 +release=1 +source=(https://github.com/madler/zlib/releases/download/v$version/$name-$version.tar.gz) +depends=() +makedeps=() + +sha256sums=( + "bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16" +) + +build() { + cd $name-$version + CC=clang LDSHARED="clang -shared -Wl,-soname,libz.so.1" \ + ./configure \ + --prefix=/ \ + --includedir=/include \ + --libdir=/lib \ + --shared + make + make install DESTDIR=$PKG \ + mandir=/usr/share/man \ + pkgconfigdir=/lib/pkgconfig + rm -f $PKG/lib/*.a +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
