aboutsummaryrefslogtreecommitdiffstats
path: root/main/libjpeg-turbo/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-07 20:06:34 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 10:00:49 +0000
commitc73ca0e658258200fd48e82129eef88e5a894db9 (patch)
tree819daddb624e10b71c3571bb58d577c2e9e0c6ba /main/libjpeg-turbo/APKBUILD
parent599b36e03fd60efbdfc810d38b2502da8c89c384 (diff)
downloadaports-c73ca0e658258200fd48e82129eef88e5a894db9.tar.bz2
aports-c73ca0e658258200fd48e82129eef88e5a894db9.tar.xz
main/libjpeg-turbo: upgrade to 1.5.2
Diffstat (limited to 'main/libjpeg-turbo/APKBUILD')
-rw-r--r--main/libjpeg-turbo/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/main/libjpeg-turbo/APKBUILD b/main/libjpeg-turbo/APKBUILD
index 4d0350229f..1b1edde9a2 100644
--- a/main/libjpeg-turbo/APKBUILD
+++ b/main/libjpeg-turbo/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libjpeg-turbo
-pkgver=1.5.1
+pkgver=1.5.2
pkgrel=0
pkgdesc="accelerated baseline JPEG compression and decompression library"
url="http://libjpeg-turbo.virtualgl.org/"
@@ -10,25 +10,14 @@ license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev nasm"
-install=""
replaces="libjpeg"
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
-source="http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$pkgver.tar.gz
- "
+source="http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$pkgver.tar.gz"
-_builddir="$srcdir"/libjpeg-turbo-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/libjpeg-turbo-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,15 +26,14 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-jpeg8 \
- || return 1
- make || return 1
+ --with-jpeg8
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" docdir=/usr/share/doc/$pkgname \
- install || return 1
+ install
}
utils() {
@@ -65,6 +53,4 @@ dev() {
replaces="jpeg-dev"
}
-md5sums="55deb139b0cac3c8200b75d485fc13f3 libjpeg-turbo-1.5.1.tar.gz"
-sha256sums="41429d3d253017433f66e3d472b8c7d998491d2f41caa7306b8d9a6f2a2c666c libjpeg-turbo-1.5.1.tar.gz"
-sha512sums="a03823cf4b3d1aada24e502fea0a979b1f656c01e55ffddc06013b9c79509c2da1e3bcf0b85282289451d77d4cb5f56dd8cbf6e492744836ddda1f7136534852 libjpeg-turbo-1.5.1.tar.gz"
+sha512sums="c7fe5cc77e38fad33af3f10e6db961c8edf033a86c09541121f49bfa20547179760924e6d3e397f0add7030459ff3babadd3457ab2da4a40a2147dc1574aa444 libjpeg-turbo-1.5.2.tar.gz"