/[gentoo-x86]/net-print/xprint/xprint-009.ebuild
Gentoo

Contents of /net-print/xprint/xprint-009.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed May 4 06:24:39 2005 UTC (14 years, 9 months ago) by lanius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove xprint from portage

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-print/xprint/xprint-009.ebuild,v 1.4 2004/08/24 12:12:09 lanius Exp $
4
5 DESCRIPTION="An advanced printing system which enables X11 applications to use devices like printers in formats like PostScript, PDF, PCL, etc."
6 HOMEPAGE="http://xprint.mozdev.org"
7 SRC_URI="mirror://sourceforge/xprint/xprint_mozdev_org_source-2004-03-22-release_009.tar.gz"
8 LICENSE="MIT"
9 SLOT="0"
10 KEYWORDS="x86 ~ppc"
11 DEPEND="virtual/x11
12 !app-arch/star"
13 RDEPEND="virtual/x11
14 virtual/lpr"
15 IUSE=""
16
17 S=${WORKDIR}/xprint/src/xprint_main/xc/
18
19 src_compile() {
20 sed 's:XPRINTDIR = .*$:XPRINTDIR = /usr/share/Xprint/xserver:' -i config/cf/X11.tmpl
21 make XPRINTDIR=/usr/share/Xprint/xserver World || die
22 }
23
24 src_install() {
25 make XPRINTDIR=/usr/share/Xprint/xserver XPDESTTARFILE=${S}/xprint.tar.gz make_xprint_tarball -C ${S}/packager
26
27 tar -xzf xprint.tar.gz
28 mv xprint/install/* ${D}
29
30 # this is a really nasty package, so we have to clean up a bit
31 rm -fR ${D}/etc/X11/
32 rm -fR ${D}/etc/profile.d
33 dodir /usr/sbin
34 mv ${D}/etc/init.d/xprint ${D}/usr/sbin/
35 cp ${FILESDIR}/xprint.rc6 ${D}/etc/init.d/xprint
36 dodoc ${D}/usr/X11R6/lib/X11/xserver/README
37 rm -f ${D}/usr/X11R6/lib/X11/xserver/README
38
39 sed -i -e 's:XPCUSTOMGLUE=default:XPCUSTOMGLUE=DebianGlue:' ${D}/usr/sbin/xprint
40 }
41
42 pkg_postinst() {
43 einfo
44 einfo ' You have to add '
45 einfo 'export XPSERVERLIST="`/bin/sh /usr/sbin/xprint get_xpserverlist`"'
46 einfo ' to your .xinitrc to get things working correctly '
47 einfo
48 }

  ViewVC Help
Powered by ViewVC 1.1.20