milis/talimatname/genel/m/minizip/talimat

28 lines
673 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Gzip ve PKZIP'de bulunan deflate sıkıştırma yöntemini uygulayan sıkıştırma kitaplığı
# URL: https://www.zlib.net/
# Paketçi: milisarge
# Gerekler:
isim=minizip
surum=1.2.11
devir=1
kaynak=(https://zlib.net/zlib-${surum}.tar.gz)
derle() {
cd zlib-$surum
grep -A 24 '^ Copyright' zlib.h > LICENSE
./configure --prefix=/usr
make
cd contrib/minizip
cp Makefile Makefile.orig
cp ../README.contrib readme.txt
autoreconf --install
./configure --prefix=/usr --enable-static=no
make
cd ${SRC}/zlib-$surum/contrib/minizip
make install DESTDIR=${PKG}
install -D -m644 ${SRC}/zlib-$surum/LICENSE ${PKG}/usr/share/licenses/minizip/LICENSE
}