summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/cups/cups-1.5.3.ebuild')
-rw-r--r--net-print/cups/cups-1.5.3.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/net-print/cups/cups-1.5.3.ebuild b/net-print/cups/cups-1.5.3.ebuild
index 7ae5c1e..718caea 100644
--- a/net-print/cups/cups-1.5.3.ebuild
+++ b/net-print/cups/cups-1.5.3.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.5.3.ebuild,v 1.1 2012/06/02 18:06:35 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.5.3.ebuild,v 1.6 2012/07/23 15:09:45 swift Exp $
EAPI=4
PYTHON_DEPEND="python? 2:2.5"
+GENTOO_DEPEND_ON_PERL=no
inherit autotools base fdo-mime gnome2-utils flag-o-matic linux-info multilib pam perl-module python user versionator java-pkg-opt-2 systemd
@@ -15,7 +16,7 @@ if [[ "${PV}" != "9999" ]]; then
SRC_URI="mirror://easysw/${PN}/${MY_PV}/${MY_P}-source.tar.bz2
http://dev.gentoo.org/~dilfridge/distfiles/${P}-avahi.patch.bz2
"
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
else
inherit subversion
ESVN_REPO_URI="http://svn.easysw.com/public/cups/trunk"
@@ -28,7 +29,7 @@ HOMEPAGE="http://www.cups.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="acl avahi dbus debug +filters gnutls java +jpeg kerberos ldap pam perl
- +png python slp +ssl static-libs systemd +threads +tiff usb X xinetd"
+ +png python selinux slp +ssl static-libs systemd +threads +tiff usb X xinetd"
LANGS="da de es eu fi fr hu id it ja ko nl no pl pt pt_BR ru sv zh zh_TW"
for X in ${LANGS} ; do
@@ -52,6 +53,7 @@ RDEPEND="
pam? ( virtual/pam )
perl? ( dev-lang/perl )
png? ( >=media-libs/libpng-1.4.3:0 )
+ selinux? ( sec-policy/selinux-cups )
slp? ( >=net-libs/openslp-1.0.4 )
ssl? (
gnutls? (
@@ -225,6 +227,9 @@ src_compile() {
}
src_install() {
+ # Fix install-sh, posix sh does not have 'function'.
+ sed 's#function gzipcp#gzipcp()#g' -i "${S}/install-sh"
+
emake BUILDROOT="${D}" install
dodoc {CHANGES,CREDITS,README}.txt