diff options
author | David Seifert <soap@gentoo.org> | 2019-12-12 18:31:10 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-12 18:31:10 +0100 |
commit | b726652a67b42a60724053c576125620dfd6b6a9 (patch) | |
tree | ef3ca6041acb0a9b137c5f07804a46df8509984b /media-libs/icclib/icclib-2.14.ebuild | |
parent | media-libs/compface: Port to EAPI 7 (diff) | |
download | gentoo-b726652a67b42a60724053c576125620dfd6b6a9.tar.gz gentoo-b726652a67b42a60724053c576125620dfd6b6a9.tar.bz2 gentoo-b726652a67b42a60724053c576125620dfd6b6a9.zip |
media-libs/icclib: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/icclib/icclib-2.14.ebuild')
-rw-r--r-- | media-libs/icclib/icclib-2.14.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/media-libs/icclib/icclib-2.14.ebuild b/media-libs/icclib/icclib-2.14.ebuild index 0c032a1773c1..c1c849efebaf 100644 --- a/media-libs/icclib/icclib-2.14.ebuild +++ b/media-libs/icclib/icclib-2.14.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit base multilib toolchain-funcs +inherit toolchain-funcs 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" @@ -13,29 +14,26 @@ SRC_URI="http://www.argyllcms.com/${MY_P}.zip" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-arch/unzip" -S=${WORKDIR} +BDEPEND="app-arch/unzip" -ICCLIB_SOVERSION="0" +S="${WORKDIR}" -PATCHES=( - "${FILESDIR}/${P}-make.patch" -) +PATCHES=( "${FILESDIR}"/${P}-make.patch ) src_compile() { - emake CC="$(tc-getCC)" ICCLIB_SOVERSION=${ICCLIB_SOVERSION} + ICCLIB_SOVERSION="0" + emake CC="$(tc-getCC)" ICCLIB_SOVERSION="${ICCLIB_SOVERSION}" } src_install() { + dobin iccdump + mv libicc.so libicc.so.${ICCLIB_SOVERSION} || die 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 + doheader icc*.h + + dodoc Readme.txt todo.txt log.txt } |