aboutsummaryrefslogtreecommitdiffstats
path: root/main/jpeg/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-10 19:26:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-10 19:26:41 +0000
commit83f17d4e1f1c49debbe39c35e9036cc62123e01d (patch)
tree5e2b64137bb1f0991c1d897c24797a8b421d42bc /main/jpeg/APKBUILD
parent74238644a69a4f2bddce10412717901534e71044 (diff)
downloadaports-83f17d4e1f1c49debbe39c35e9036cc62123e01d.tar.bz2
aports-83f17d4e1f1c49debbe39c35e9036cc62123e01d.tar.xz
main/jpeg: upgrade to 8
Diffstat (limited to 'main/jpeg/APKBUILD')
-rw-r--r--main/jpeg/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/jpeg/APKBUILD b/main/jpeg/APKBUILD
index c795091a4d..9292022a99 100644
--- a/main/jpeg/APKBUILD
+++ b/main/jpeg/APKBUILD
@@ -1,7 +1,7 @@
# 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"