summaryrefslogtreecommitdiff
blob: 5225cae552cdbe096cf881112b2c818602fced73 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Mikael Hallendal <hallski@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/intltool/intltool-0.21.ebuild,v 1.1 2002/05/20 15:46:36 spider Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Scripts for extracting translatable strings from various sourcefiles"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2"
HOMEPAGE="http://www.gnome.org/"

DEPEND="virtual/glibc
	>=dev-libs/popt-1.5
	>=sys-devel/perl-5.6.0"

src_compile() {                           
	./configure --host=${CHOST}	\
		    --prefix=/usr		\
		    --sysconfdir=/etc	\
		    --localstatedir=/var/lib \
		    --mandir=/usr/share/man || die
	emake || die
}

src_install() {
	make prefix=${D}/usr	\
	     sysconfdir=${D}/etc \
	     localstatedir=${D}/var/lib	\
	     mandir=${D}/usr/share/man \
	     install || die

	dodoc AUTHORS ChangeLog NEWS README
}