summaryrefslogtreecommitdiff
blob: cd8cfa6257f120c81fb49f46332f144f3ef59322 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/glabels/glabels-1.90.0.ebuild,v 1.1 2002/12/07 12:15:12 leonardop Exp $

DESCRIPTION="Program for creating labels and business cards"
HOMEPAGE="http://snaught.com/glabels/"
LICENSE="GPL-2"
KEYWORDS="~x86"
SLOT="0"
IUSE=""
SRC_URI="http://snaught.com/${PN}/source/${P}.tar.gz"

DEPEND=">=x11-libs/gtk+-2.0.5
    >=dev-libs/libxml2-2.4.23
    >=gnome-base/libgnomeprint-1.115
    >=gnome-base/libgnomeprintui-1.115
    >=gnome-base/libgnomecanvas-2.0.1
	>=gnome-base/libgnomeui-2.0.1
	>=gnome-base/libbonobo-2
    media-libs/gdk-pixbuf
	>=dev-util/pkgconfig-0.8
	>=dev-util/intltool-0.21"

S=${WORKDIR}/${P}

src_compile() {
	econf --enable-platform-gnome-2 || die "./configure failed"

	emake || die "Compilation failed"
}
src_install() {
    einstall || die "Installation failed"

	# Put the .desktop file in a more reasonable place
	mv \
		${D}/usr/share/gnome/apps/Applications \
		${D}/usr/share/gnome/apps/Utilities

	dodoc AUTHORS COPYING README TODO
}