summaryrefslogtreecommitdiffstats
path: root/main/libpng/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-09 14:52:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-09 14:52:25 +0000
commit9cd6129aa676364cff17d0b7af6f15268710d1e3 (patch)
treef7ec9baa221948eb1f9724995f2016924797e8d8 /main/libpng/APKBUILD
parent371a925a370fe8a7c22bfebac7f232370dbb6894 (diff)
downloadaports-9cd6129aa676364cff17d0b7af6f15268710d1e3.tar.bz2
aports-9cd6129aa676364cff17d0b7af6f15268710d1e3.tar.xz
main/libpng: upgrade to 1.2.40
Diffstat (limited to 'main/libpng/APKBUILD')
-rw-r--r--main/libpng/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index c781720ab..2cea1e589 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=libpng
-pkgver=1.2.39
+pkgver=1.2.40
pkgrel=0
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
@@ -14,14 +14,17 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
depends_dev="zlib-dev"
build() {
cd "$srcdir/$pkgname-$pkgver"
-
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
- make || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1
}
-md5sums="ddfeaf19b690985910c42e41974e8d65 libpng-1.2.39.tar.gz"
+md5sums="a2f6808735bf404967f81519a967fb2a libpng-1.2.40.tar.gz"