summaryrefslogtreecommitdiff
blob: dfe636db53ac2e74c3d6fb9de56bd0dc739cd103 (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.3 2005/04/07 16:48:46 mr_bones_ 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="~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"
}