diff options
Diffstat (limited to 'media-libs/icclib/icclib-2.13.ebuild')
-rw-r--r-- | media-libs/icclib/icclib-2.13.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/icclib/icclib-2.13.ebuild b/media-libs/icclib/icclib-2.13.ebuild new file mode 100644 index 000000000000..af5558e2b52b --- /dev/null +++ b/media-libs/icclib/icclib-2.13.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/icclib/icclib-2.13.ebuild,v 1.1 2012/05/20 19:48:33 dilfridge Exp $ + +EAPI=4 + +inherit base multilib + +MY_P="${PN}_V${PV}" +DESCRIPTION="Library for reading and writing ICC color profile files" +HOMEPAGE="http://freecode.com/projects/icclib" +SRC_URI="http://www.argyllcms.com/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +ICCLIB_SOVERSION="0" + +PATCHES=( + "${FILESDIR}/${PN}-2.13-make.patch" +) + +src_compile() { + emake ICCLIB_SOVERSION=${ICCLIB_SOVERSION} +} + +src_install() { + mv -v libicc.so libicc.so.${ICCLIB_SOVERSION} + dolib.so libicc.so.${ICCLIB_SOVERSION} + dosym libicc.so.${ICCLIB_SOVERSION} /usr/$(get_libdir)/libicc.so + dobin iccdump + dodoc Readme.txt todo.txt log.txt + + insinto /usr/include + doins icc*.h +} |