Commit 83f17d4e authored by Natanael Copa's avatar Natanael Copa

main/jpeg: upgrade to 8

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