summaryrefslogtreecommitdiff
blob: 310c1249daed058ba9ecd622fe60ef89301e8a69 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/kups/kups-1.0-r1.ebuild,v 1.12 2003/01/02 10:37:43 pvdabeel 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/"
KEYWORDS="x86 ~ppc"


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
}