blob: 6c72d6d8fd33cb2a6e6d9a4f06b0a5b53099bc57 (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-print/gtklp/gtklp-1.2.5.ebuild,v 1.2 2008/01/17 16:28:50 flameeyes Exp $
DESCRIPTION="A GUI for cupsd"
SRC_URI="mirror://sourceforge/gtklp/${P}.src.tar.gz"
HOMEPAGE="http://gtklp.sourceforge.net"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
IUSE="nls ssl"
RDEPEND=">=x11-libs/gtk+-2
>=net-print/cups-1.1.12
nls? ( sys-devel/gettext )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
econf \
$(use_enable nls) \
$(use_enable ssl) \
|| die "configure failed"
emake || die "parallel make failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README README.FAQ TODO USAGE
use nls || rm -rf "${D}"/usr/share/locale
}
|