2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Gzip ve PKZIP'de bulunan deflate sıkıştırma yöntemini uygulayan sıkıştırma kitaplığı
|
2017-10-21 14:26:54 +02:00
|
|
|
|
# URL: https://www.zlib.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-10-21 14:26:54 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=minizip
|
|
|
|
|
surum=1.2.11
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://zlib.net/zlib-${surum}.tar.gz)
|
2017-10-21 14:26:54 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd zlib-$surum
|
2017-10-21 14:26:54 +02:00
|
|
|
|
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
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd ${SRC}/zlib-$surum/contrib/minizip
|
2017-10-21 14:26:54 +02:00
|
|
|
|
make install DESTDIR=${PKG}
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -D -m644 ${SRC}/zlib-$surum/LICENSE ${PKG}/usr/share/licenses/minizip/LICENSE
|
2017-10-21 14:26:54 +02:00
|
|
|
|
}
|