summaryrefslogtreecommitdiff
blob: 9b22a5ec6c84d52856f4ebd43ab1d1ce9ce809c4 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/kbarcode/kbarcode-2.0.0.ebuild,v 1.1 2006/03/16 17:26:01 carlo Exp $

inherit kde

MY_P="${P/_/}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="KBarcode is a barcode and label printing application for KDE."
HOMEPAGE="http://www.kbarcode.net/"
SRC_URI="mirror://sourceforge/kbarcode/${MY_P}.tar.gz
	doc? ( mirror://sourceforge/kbarcode/${P}.pdf )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND=">=app-text/barcode-0.98"

RDEPEND=">=app-text/barcode-0.98
	virtual/ghostscript"

need-kde 3.4

src_install() {
	kde_src_install
	use doc && cp ${DISTDIR}/${P}.pdf ${D}/usr/share/doc/${PF}
}