2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: PNG formatlı grafik dosyalarını oluşturmak için kullanılan bir dizi rutin
|
2017-06-27 13:04:33 +02:00
|
|
|
|
# URL: http://www.libpng.org/pub/png/libpng.html
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: Cihan Alkan
|
|
|
|
|
# Gerekler: glibc
|
2017-06-27 13:04:33 +02:00
|
|
|
|
|
|
|
|
|
name=libpng12
|
|
|
|
|
version=1.2.57
|
|
|
|
|
release=1
|
|
|
|
|
source=(https://sourceforge.net/projects/libpng/files/libpng-$version.tar.xz
|
|
|
|
|
https://sourceforge.net/projects/apng/files/libpng/libpng12/libpng-$version-apng.patch.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-27 13:04:33 +02:00
|
|
|
|
cd libpng-$version
|
|
|
|
|
#patch -Np0 -i $SRC/libpng-$version-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/
|
|
|
|
|
}
|