Commit a4d62bf6 authored by Carlo Landmeter's avatar Carlo Landmeter Committed by Natanael Copa

extra/libpng: new aport

parent d5d42136
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=libpng
pkgver=1.2.34
pkgrel=0
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
license="GPL"
depends="zlib"
makedepends="zlib-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1
}
md5sums="6ca3e836887fa5f5f509c36e194f8c00 libpng-1.2.34.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment