Commit 00154e28 authored by Natanael Copa's avatar Natanael Copa

main/jpeg: upgrade to 8

(cherry picked from commit 83f17d4e)
parent ef7ba4bc
# Contributor: Carlo Landmeter <clandmeter at gmail> # Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jpeg pkgname=jpeg
pkgver=7 pkgver=8
pkgrel=0 pkgrel=0
pkgdesc="JPEG image tools" pkgdesc="JPEG image tools"
url="http://www.ijg.org/" url="http://www.ijg.org/"
...@@ -12,15 +12,19 @@ install= ...@@ -12,15 +12,19 @@ install=
subpackages="$pkgname-doc $pkgname-dev libjpeg" subpackages="$pkgname-doc $pkgname-dev libjpeg"
source="http://www.ijg.org/files/jpegsrc.v${pkgver}.tar.gz" source="http://www.ijg.org/files/jpegsrc.v${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
cd "$srcdir"/$pkgname-$pkgver cd "$_builddir"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--enable-shared --enable-shared
make || return 1 make || return 1
}
package() {
cd "$_builddir"
make -j1 install DESTDIR="$pkgdir" make -j1 install DESTDIR="$pkgdir"
install -Dm644 jpegint.h "$pkgdir"/usr/include/jpegint.h install -Dm644 jpegint.h "$pkgdir"/usr/include/jpegint.h
} }
...@@ -32,4 +36,4 @@ libjpeg() { ...@@ -32,4 +36,4 @@ libjpeg() {
} }
md5sums="382ef33b339c299b56baf1296cda9785 jpegsrc.v7.tar.gz" md5sums="9c6b3514e922ad42298706163bb5e2d7 jpegsrc.v8.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