27 lines
1,004 B
Bash
27 lines
1,004 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shared-color-profiles/shared-color-profiles-0.1.4.ebuild,v 1.10 2012/03/08 23:02:46 ranger Exp $
|
|
|
|
EAPI="4"
|
|
|
|
DESCRIPTION="Color profiles from contributors for color calibration"
|
|
HOMEPAGE="https://github.com/hughsie/shared-color-profiles"
|
|
SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2 MIT ZLIB public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm hppa ~ppc ~ppc64 x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
RDEPEND=""
|
|
DEPEND=""
|
|
|
|
DOCS=(AUTHORS ChangeLog NEWS README)
|
|
|
|
src_prepare() {
|
|
# Install profile subdirectory documentation in /usr/share/doc/${PF}
|
|
# Note: we install LICENSE files because each subdirectory has a different
|
|
# license, origin, and author, which the user may be interested in knowing.
|
|
sed -e "/licensedir/s:/shared-color-profiles/:/doc/${PF}/:" \
|
|
-i profiles/*/Makefile.* || die "sed profiles/*/Makefile.* failed"
|
|
}
|