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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 17 12:51:10 2003 UTC (16 years, 4 months ago) by lanius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
changelog:P

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.ebuild,v 1.1 2003/07/20 11:10:28 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 install DESTDIR=${D} || die
23
24 # this is a really nasty package, so we have to do some cleanups
25 rm -fR ${D}/etc/profile.d
26 rm -fR ${D}/etc/X11/
27 dodir /usr/sbin
28 mv ${D}/etc/init.d/xprint ${D}/usr/sbin/
29 cp ${FILESDIR}/xprint.rc6 ${D}/etc/init.d/xprint
30 dodoc ${D}/usr/X11R6/lib/X11/xserver/README
31 rm -f ${D}/usr/X11R6/lib/X11/xserver/README
32 }
33
34 pkg_postinst() {
35 einfo
36 einfo ' You have to add '
37 einfo 'export XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`"'
38 einfo ' to your .xinitrc to get things working correctly '
39 einfo
40 }

  ViewVC Help
Powered by ViewVC 1.1.20