summaryrefslogtreecommitdiff
blob: 5f439aaed43280d869a7932b89f775a4a5d0fa21 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/net-print/kups/kups-1.0-r1.ebuild,v 1.6 2002/07/01 21:33:31 danarmak Exp $

inherit kde-base || die

need-kde 2.1.1

LICENSE="GPL-2"
DESCRIPTION="A CUPS front-end for KDE"
SRC_URI="ftp://cups.sourceforge.net/pub/cups/kups/${P}.tar.gz"
HOMEPAGE="http://cups.sourceforge.net/kups/"

newdepend ">=net-print/qtcups-2.0"

src_compile() {

	rm configure
	autoconf || die

	CFLAGS="${CFLAGS} -L/usr/X11R6/lib"
	kde_src_compile

}

src_install () {
	make DESTDIR=${D} CUPS_MODEL_DIR=/usr/share/cups/model install
	kde_src_install dodoc
}