milis/talimatname/genel/l/libpng12/talimat

23 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: PNG formatlı grafik dosyalarını oluşturmak için kullanılan bir dizi rutin
# URL: http://www.libpng.org/pub/png/libpng.html
# Paketçi: Cihan Alkan
# Gerekler: glibc
# Grup: kütüphane
isim=libpng12
surum=1.2.57
devir=1
kaynak=(https://sourceforge.net/projects/libpng/files/libpng-$surum.tar.xz
https://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-$surum-apng.patch.gz)
derle() {
cd libpng-$surum
#patch -Np0 -i $SRC/libpng-$surum-apng.patch
./configure --prefix='/usr'
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{bin,include,lib/{libpng.{a,so},pkgconfig},share}
install -Dm 644 LICENSE -t $PKG/usr/share/licenses/libpng12/
}