summaryrefslogtreecommitdiffstats
path: root/testing/lcms/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lcms/APKBUILD')
-rw-r--r--testing/lcms/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/lcms/APKBUILD b/testing/lcms/APKBUILD
new file mode 100644
index 000000000..7d3d4ca99
--- /dev/null
+++ b/testing/lcms/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lcms
+pkgver=1.19
+pkgrel=0
+pkgdesc="Lightweight color management development library/engine"
+url="http://www.littlecms.com"
+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
+}
+
+liblcms() {
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/liblcms.so.* "$subpkgdir"/usr/lib/
+}
+
+md5sums="8af94611baf20d9646c7c2c285859818 lcms-1.19.tar.gz"