blob: 885be89bc120a80044c20a2ec9ab5a60ce88bc53 (
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
35
36
37
38
39
40
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/kbarcode/kbarcode-2.0.7.ebuild,v 1.1 2008/06/21 10:38:41 carlo Exp $
ARTS_REQUIRED="never"
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/kbarcode-2.0.0.pdf )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"
DEPEND=">=app-text/barcode-0.98
dev-libs/libpcre"
RDEPEND=">=app-text/barcode-0.98
dev-libs/libpcre
virtual/ghostscript"
need-kde 3.5
PATCHES=( "${FILESDIR}/kbarcode-2.0.6-desktop-entry-fixes.diff" )
src_compile() {
rm "${S}"/configure
kde_src_compile
}
src_install() {
kde_src_install
use doc && cp "${DISTDIR}/kbarcode-2.0.0.pdf" "${D}/usr/share/doc/${PF}"
}
|