blob: 94e50ce4709d46c34cee695467ea5e8ea6887702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lcms
pkgver=1.19
pkgrel=2
pkgdesc="Lightweight color management development library/engine"
url="http://www.littlecms.com"
arch="all"
license="custom"
depends=
makedepends="tiff-dev jpeg-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc liblcms"
source="http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm 644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
rm "$pkgdir"/usr/lib/*.la
}
liblcms() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/liblcms.so.* "$subpkgdir"/usr/lib/
}
md5sums="8af94611baf20d9646c7c2c285859818 lcms-1.19.tar.gz"
|