summaryrefslogtreecommitdiff
blob: 4d3763904ebceafe569bce7271afb602957e79d6 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkam/gtkam-0.1.9.ebuild,v 1.6 2003/01/31 17:14:19 foser Exp $

DESCRIPTION="A frontend for gPhoto 2"
HOMEPAGE="http://gphoto.org/gphoto2/gtk.html"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.gz"

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

DEPEND=">=x11-libs/gtk+-2
	>=media-gfx/gphoto2-2.1.0"

S=${WORKDIR}/${P}

src_compile() {
	# A Makefile hack to remove the spurious installation of
	# documentation into /usr/doc/gtkam
	cd ${S}
	cp Makefile.in Makefile.in.orig
	sed -e 's/install-data-am:.*/install-data-am:/g' Makefile.in.orig > Makefile.in
	rm Makefile.in.orig

	econf --without-gimp
	emake || die
}

src_install() {
	einstall || die

	dodoc ABOUT-NLS AUTHORS COPYING INSTALL MANUAL NEWS README
}