Created
June 12, 2011 01:50
-
-
Save matsuu/1021163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2011 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: $ | |
EAPI=3 | |
inherit font | |
MY_P="Ricty-${PV}" | |
DESCRIPTION="" | |
HOMEPAGE="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html" | |
SRC_URI="http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty/${MY_P}.tar.gz" | |
LICENSE="public-domain" | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
IUSE="" | |
DEPEND="media-fonts/inconsolata | |
media-fonts/mix-mplus-ipa | |
media-gfx/fontforge" | |
RDEPEND="" | |
S="${WORKDIR}/${MY_P}" | |
FONT_SUFFIX="ttf" | |
FONT_S="${S}" | |
# Only installs fonts. | |
RESTRICT="strip binchecks" | |
src_compile() { | |
sh ricty_generator.sh \ | |
"${EPREFIX}/usr/share/fonts/inconsolata/Inconsolata.otf" \ | |
"${EPREFIX}/usr/share/fonts/mix-mplus-ipa/Migu-1M-regular.ttf" \ | |
"${EPREFIX}/usr/share/fonts/mix-mplus-ipa/Migu-1M-bold.ttf" || die | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment