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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Feb 4 12:36:52 2004 UTC (16 years ago) by lanius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
fixed einfo in pkg_postinst, bug #40195, removed -r1

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-print/xprint/xprint-008-r1.ebuild,v 1.3 2003/10/17 12:51:10 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="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="x11-base/xfree"
12 RDEPEND="virtual/lpr"
13 IUSE=""
14
15 S=${WORKDIR}/xprint/src/xprint_main/xc/
16
17 src_compile() {
18 make World || die
19 }
20
21 src_install() {
22 make XPRINTDIR=/usr/share/Xprint/xserver XPDESTTARFILE=${S}/xprint.tar.gz make_xprint_tarball -C ${S}/packager
23
24 tar -xzf xprint.tar.gz
25 mv xprint/install/* ${D}
26
27 # this is a really nasty package, so we have to clean up a bit
28 rm -fR ${D}/etc/X11/
29 rm -fR ${D}/etc/profile.d
30 dodir /usr/sbin
31 mv ${D}/etc/init.d/xprint ${D}/usr/sbin/
32 cp ${FILESDIR}/xprint.rc6 ${D}/etc/init.d/xprint
33 dodoc ${D}/usr/X11R6/lib/X11/xserver/README
34 rm -f ${D}/usr/X11R6/lib/X11/xserver/README
35 }
36
37 pkg_postinst() {
38 einfo
39 einfo ' You have to add '
40 einfo 'export XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`"'
41 einfo ' to your .xinitrc to get things working correctly '
42 einfo
43 }

  ViewVC Help
Powered by ViewVC 1.1.20