diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 11:33:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-24 11:33:02 +0000 |
commit | faf142f1a2ea5d68e2f041ae4e2c75f4c343fbcd (patch) | |
tree | e0a0a4d4b951cbbbf094ae3a0b4a8ab7f01c4e6b /main/lcms/APKBUILD | |
parent | d20706e1d36c158ac54759032a417985b759cc1c (diff) | |
download | aports-faf142f1a2ea5d68e2f041ae4e2c75f4c343fbcd.tar.bz2 aports-faf142f1a2ea5d68e2f041ae4e2c75f4c343fbcd.tar.xz |
main/lcms: moved from testing
Diffstat (limited to 'main/lcms/APKBUILD')
-rw-r--r-- | main/lcms/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/lcms/APKBUILD b/main/lcms/APKBUILD new file mode 100644 index 0000000000..7d3d4ca994 --- /dev/null +++ b/main/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" |