summaryrefslogtreecommitdiff
path: root/app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild
diff options
context:
space:
mode:
authorMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2009-12-06 07:31:13 +0100
committerMaciej Mrozowski (reavertm) <reavertm@poczta.fm>2009-12-06 07:31:13 +0100
commit71bfaa37c20b9de96c6a442da39a307afdb86c44 (patch)
tree5829537963b1e23dc22386f5760a5eae3dfcb6b6 /app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild
parent8dca28e6b108ec1cc0bf1f0b9d4c8c02baffe9ef (diff)
downloadkde-71bfaa37c20b9de96c6a442da39a307afdb86c44.tar.gz
kde-71bfaa37c20b9de96c6a442da39a307afdb86c44.tar.bz2
kde-71bfaa37c20b9de96c6a442da39a307afdb86c44.zip
[ap-admin/system-config-printer-common] 1.1.15 version bump
Diffstat (limited to 'app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild')
-rw-r--r--app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild b/app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild
new file mode 100644
index 00000000000..03632c63aee
--- /dev/null
+++ b/app-admin/system-config-printer-common/system-config-printer-common-1.1.15.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit python autotools
+
+MY_P="${PN%-common}-${PV}"
+
+DESCRIPTION="Common modules of Red Hat's printer administration tool"
+HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
+SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.1/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE="doc"
+
+# system-config-printer split since 1.1.3
+RDEPEND="
+ !app-admin/system-config-printer:0
+ dev-libs/libxml2[python]
+ dev-python/dbus-python
+ dev-python/pycups
+ dev-python/pygobject
+ net-print/cups[dbus]
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ doc? ( dev-python/epydoc )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-split.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-nls
+}
+
+src_compile() {
+ emake || die "emake failed"
+ if use doc; then
+ emake html || die "emake html failed"
+ fi
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README || die "dodoc failed"
+
+ if use doc; then
+ dohtml -r html/ || die "installing html docs failed"
+ fi
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+}