summaryrefslogtreecommitdiff
blob: a98cb17741f38dea76a367870f26fca0ae075980 (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
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/chkfontpath/chkfontpath-1.9.10.ebuild,v 1.3 2004/04/27 21:38:54 agriffis Exp $

IUSE=""

inherit rpm eutils

RPM_V="2"

S=${WORKDIR}/${P}
DESCRIPTION="Simple interface for editing the font path for the X font server"
HOMEPAGE="ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/"
SRC_URI="ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/SRPMS/${P}-${RPM_V}.src.rpm
	mirror://gentoo/${P}-gentoo.patch.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips"

DEPEND="virtual/glibc
	app-arch/rpm2targz
	dev-libs/popt"

RDEPEND="${DEPEND}
	sys-apps/psmisc"


src_unpack() {
	rpm_src_unpack
	cd ${S}
	epatch ${DISTDIR}/${P}-gentoo.patch.bz2
}

src_compile() {
	emake || die
}

src_install() {
	exeinto /usr/X11R6/bin
	doexe chkfontpath

	doman man/en/chkfontpath.8
}