summaryrefslogtreecommitdiff
path: root/core/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'core/zlib')
-rw-r--r--core/zlib/.footprint14
-rw-r--r--core/zlib/.signature6
-rw-r--r--core/zlib/MAKEPKG36
3 files changed, 56 insertions, 0 deletions
diff --git a/core/zlib/.footprint b/core/zlib/.footprint
new file mode 100644
index 0000000..929a0f3
--- /dev/null
+++ b/core/zlib/.footprint
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root include/
+-rw-r--r-- root/root include/zconf.h
+-rw-r--r-- root/root include/zlib.h
+drwxr-xr-x root/root lib/
+-rwxr-xr-x root/root lib/libz.so.1.3.2
+lrwxrwxrwx root/root lib/libz.so -> libz.so.1.3.2
+lrwxrwxrwx root/root lib/libz.so.1 -> libz.so.1.3.2
+drwxr-xr-x root/root lib/pkgconfig/
+-rw-r--r-- root/root lib/pkgconfig/zlib.pc
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/zlib.3.gz
diff --git a/core/zlib/.signature b/core/zlib/.signature
new file mode 100644
index 0000000..e50bd03
--- /dev/null
+++ b/core/zlib/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mHOEhVd7nwAig8LTvrQh53LzcTIEjhcO2u7JLylollfrDbePpqZL1w6xFtWW4Tun12D0rbi6HW08b7gO0dw1YgI=
+
+SHA256 (MAKEPKG) = 03790c1a99168f38ce042b8f6ed987726bc9e7363ddf306aa76f47395747d53b
+SHA256 (.footprint) = de842419894f6d01079b08c6f4c373158f8149ef77aa2eb56d596e3ee3bb3ad2
+SHA256 (zlib-1.3.2.tar.gz) = bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16
+SHA256 (zlib#1.3.2-1.pkg.tar.gz) = 92dbf992096cadf990c1b339b9ca23b60b4414da4e55ce5a8fafc11ad9e7eec7
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