diff options
-rw-r--r-- | main/libjpeg-turbo/APKBUILD | 15 |
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" |