summaryrefslogtreecommitdiff
blob: beed94a3be78134f1ab2fdaa0a0260c915ea841b (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/qtcups/qtcups-2.0-r1.ebuild,v 1.8 2002/10/04 06:18:43 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="QT Frontend for the Common UNIX printing system"
SRC_URI="ftp://cups.sourceforge.net/pub/cups/qtcups/${P}.tar.gz"
HOMEPAGE="http://cups.sourceforge.net"
KEYWORDS="x86 ppc"
SLOT="0"
LICENSE="GPL-2"

DEPEND="=x11-libs/qt-2*
	>=net-print/cups-1.1.4"

src_compile() {

    cd ${S}
    ./configure --prefix=/usr --host=${CHOST} --with-qt-dir=/usr/qt/2 || die
    make || die

}

src_install () {

    cd ${S}
    make DESTDIR=${D} install || die
    dodoc AUTHORS COPYING ChangeLog README TODO

}