diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-12 17:03:59 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-03-12 17:03:59 +0000 |
commit | 3cb8fca8a2c50a39fada396476763e7383efafa8 (patch) | |
tree | ef14ee861ace17d8a0a987cb4db8e10c7a027b6c /app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild | |
parent | Stable on amd64 wrt bug #308127 (diff) | |
download | historical-3cb8fca8a2c50a39fada396476763e7383efafa8.tar.gz historical-3cb8fca8a2c50a39fada396476763e7383efafa8.tar.bz2 historical-3cb8fca8a2c50a39fada396476763e7383efafa8.zip |
New version, removed old
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild')
-rw-r--r-- | app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild b/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild new file mode 100644 index 000000000000..8e74e95f63bf --- /dev/null +++ b/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.1.18.ebuild,v 1.1 2010/03/12 17:03:59 reavertm Exp $ + +EAPI="2" +inherit python autotools + +MY_P="${PN%-gnome}-${PV}" + +DESCRIPTION="GNOME frontend for a 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="~amd64 ~x86" +SLOT="0" +IUSE="gnome-keyring" + +COMMON_DEPEND=" + dev-lang/python +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + dev-util/intltool + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + >=app-admin/system-config-printer-common-${PV} + dev-python/libgnome-python + dev-python/notify-python + >=dev-python/pygtk-2.4 + dev-python/pyxml + gnome-keyring? ( dev-python/gnome-keyring-python ) +" + +APP_LINGUAS="ar as bg bn_IN bn bs ca cs cy da de el en_GB es et fa fi fr gu he +hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl pt_BR +pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW" +for X in ${APP_LINGUAS}; do + IUSE="${IUSE} linguas_${X}" +done + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${P}-split.patch" + + eautoreconf +} + +src_configure() { + local myconf + + # disable installation of translations when LINGUAS not chosen + if [[ -z "${LINGUAS}" ]]; then + myconf="${myconf} --disable-nls" + else + myconf="${myconf} --enable-nls" + fi + + econf ${myconf} || die "econf failed" +} + +src_install() { + dodoc AUTHORS ChangeLog README || die "dodoc failed" + + emake DESTDIR="${D}" install || die "emake install failed" +} |