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

Contents of /net-print/xprint/xprint-008-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (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.6: +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-008-r2.ebuild,v 1.6 2004/06/25 00:42:12 agriffis 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="http://puck.informatik.med.uni-giessen.de/download/xprint_mozdev_org_source-2003-05-08-release_${PV}.tar.gz"
8 LICENSE="MIT"
9 SLOT="0"
10 KEYWORDS="x86"
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 make World || die
21 }
22
23 src_install() {
24 make XPRINTDIR=/usr/share/Xprint/xserver XPDESTTARFILE=${S}/xprint.tar.gz make_xprint_tarball -C ${S}/packager
25
26 tar -xzf xprint.tar.gz
27 mv xprint/install/* ${D}
28
29 # this is a really nasty package, so we have to clean up a bit
30 rm -fR ${D}/etc/X11/
31 rm -fR ${D}/etc/profile.d
32 dodir /usr/sbin
33 mv ${D}/etc/init.d/xprint ${D}/usr/sbin/
34 cp ${FILESDIR}/xprint.rc6 ${D}/etc/init.d/xprint
35 dodoc ${D}/usr/X11R6/lib/X11/xserver/README
36 rm -f ${D}/usr/X11R6/lib/X11/xserver/README
37
38 sed -i -e 's:XPCUSTOMGLUE=default:XPCUSTOMGLUE=DebianGlue:' ${D}/usr/sbin/xprint
39 }
40
41 pkg_postinst() {
42 einfo
43 einfo ' You have to add '
44 einfo 'export XPSERVERLIST="`/bin/sh /usr/sbin/xprint get_xpserverlist`"'
45 einfo ' to your .xinitrc to get things working correctly '
46 einfo
47 }

  ViewVC Help
Powered by ViewVC 1.1.20