summaryrefslogtreecommitdiff
blob: 6f06d8b3b14f2c272a770e00c65d264859e85200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild,v 1.5 2014/03/04 19:06:15 naota Exp $

EAPI=4

AUTOTOOLS_AUTORECONF=1

inherit autotools-utils multilib

MY_P=${P/_p/-}

DESCRIPTION="Handwriting model files trained with Tomoe data"
HOMEPAGE="http://zinnia.sourceforge.net/index.html"
SRC_URI="mirror://sourceforge/zinnia/${MY_P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="app-i18n/zinnia"
RDEPEND="${DEPEND}"

S="${WORKDIR}"/${MY_P}

AUTOTOOLS_IN_SOURCE_BUILD=1

src_prepare() {
	sed -i -e "/^modeldir/s/lib/$(get_libdir)/" Makefile.am || die
	autotools-utils_src_prepare
}