aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-28 10:19:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-28 10:26:39 +0000
commita198cedeeee8a8770bf2edb63d313ed9dae1df2c (patch)
tree400f2fed6c7659bdfbe4f920f5cb2a966a93abea
parentcb77e89c85b1bb1a9a64a61645e6f069211d6534 (diff)
downloadaports-a198cedeeee8a8770bf2edb63d313ed9dae1df2c.tar.bz2
aports-a198cedeeee8a8770bf2edb63d313ed9dae1df2c.tar.xz
main/libjpeg-turbo: switch to jpeg8 abi and add replaces
-rw-r--r--main/libjpeg-turbo/APKBUILD15
1 files changed, 14 insertions, 1 deletions
diff --git a/main/libjpeg-turbo/APKBUILD b/main/libjpeg-turbo/APKBUILD
index ba53c9b5a9..d7a4c8ccec 100644
--- a/main/libjpeg-turbo/APKBUILD
+++ b/main/libjpeg-turbo/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libjpeg-turbo
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="accelerated baseline JPEG compression and decompression library"
url="http://libjpeg-turbo.virtualgl.org/"
arch="all"
@@ -11,6 +11,7 @@ depends=""
depends_dev=""
makedepends="$depends_dev nasm"
install=""
+replaces="libjpeg"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$pkgver.tar.gz"
@@ -32,6 +33,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
+ --with-jpeg8 \
|| return 1
make || return 1
}
@@ -44,8 +46,19 @@ package() {
utils() {
pkgdesc="Utilities for manipulating JPEG images"
+ replaces="jpeg"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
+doc() {
+ default_doc
+ replaces="jpeg-doc"
+}
+
+dev() {
+ default_dev
+ replaces="jpeg-dev"
+}
+
md5sums="f61e60ff01381ece4d2fe65eeb52669e libjpeg-turbo-1.2.1.tar.gz"