summaryrefslogtreecommitdiff
blob: 61d58aabe3c1535df635ababca7efb1f5b33d5be (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-util/font-util-0.99.1.ebuild,v 1.2 2005/10/20 06:06:53 spyderous Exp $

# Must be before x-modular eclass is inherited
SNAPSHOT="yes"

inherit x-modular

DESCRIPTION="BigReqs prototype headers"
KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
RDEPEND=""
DEPEND="${RDEPEND}"

src_unpack() {
	x-modular_unpack_source
	x-modular_patch_source

	# This use of datadir in configure.ac requires me to pass --datadir to
	# configure, in addition to the --prefix that's all that is required by
	# other packages.
	sed -i -e "s:^mapdir.*:mapdir=\"\$datadir/fonts/util\":g" \
		${S}/configure.ac

	x-modular_reconf_source
}