summaryrefslogtreecommitdiff
blob: 7dcac658cbde18915defd7b5e0ef4ed772985b6f (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/gato/gato-0.6.6.ebuild,v 1.4 2005/07/21 17:18:32 dholm Exp $

DESCRIPTION="An interface to the at UNIX command"
HOMEPAGE="http://www.arquired.es/users/aldelgado/proy/gato/"
SRC_URI="http://www.arquired.es/users/aldelgado/proy/gato/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""

RDEPEND="=x11-libs/gtk+-1*"
DEPEND="${RDEPEND}
	sys-devel/automake
	sys-devel/autoconf"

src_unpack() {
	unpack ${A}
	cd "${S}/src"
	aclocal && autoheader && automake -a --foreign && autoconf || die "autotools failed"
}

src_compile() {
	cd src
	econf || die
	emake || die "emake failed"
}

src_install() {
	make install.xpm PREFIX="${D}/usr" || die "install.xpm failed"
	dodoc AUTHOR CHANGELOG README TODO
	cd src
	make install DESTDIR="${D}" || die "install failed"
}