diff options
-rw-r--r-- | app-text/ghostscript/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/ghostscript/files/digest-ghostscript-6.53-r1 | 6 | ||||
-rw-r--r-- | app-text/ghostscript/files/digest-ghostscript-7.00 | 6 | ||||
-rw-r--r-- | app-text/ghostscript/files/digest-ghostscript-7.05 | 4 | ||||
-rw-r--r-- | app-text/ghostscript/files/ghostscript-6.50-time_.h-gentoo.diff | 13 | ||||
-rw-r--r-- | app-text/ghostscript/files/ghostscript-7.00-time_.h-gentoo.diff | 13 | ||||
-rw-r--r-- | app-text/ghostscript/files/lxm3200-gentoo.diff | 32 | ||||
-rw-r--r-- | app-text/ghostscript/ghostscript-6.50-r2.ebuild | 77 | ||||
-rw-r--r-- | app-text/ghostscript/ghostscript-6.53-r1.ebuild | 96 | ||||
-rw-r--r-- | app-text/ghostscript/ghostscript-7.00.ebuild | 93 | ||||
-rw-r--r-- | app-text/ghostscript/ghostscript-7.05.ebuild | 64 |
11 files changed, 105 insertions, 305 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog index 4a3821858e4f..c439bb1b3bac 100644 --- a/app-text/ghostscript/ChangeLog +++ b/app-text/ghostscript/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/ghostscript # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.6 2002/04/28 18:40:09 jnelson Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.7 2002/05/26 14:15:40 verwilst Exp $ + +*ghostscript-7.05 (26 May 2002 + 26 May: Bart Verwilst: Upgraded to 7.05, added lexmark 3200 driver.. + Closes bugs #2614 and #2698 *ghostscript-6.53-r2 (28 Apr 2002) 28 Apr 2002; Jon Nelson <jnelson@gentoo.org>: ghostscript-6.53-r2.ebuild diff --git a/app-text/ghostscript/files/digest-ghostscript-6.53-r1 b/app-text/ghostscript/files/digest-ghostscript-6.53-r1 deleted file mode 100644 index a09bca1eed1d..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-6.53-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 fc61954bddd6252f992b8bc1f4cc8761 ghostscript-6.53.tar.bz2 3899811 -MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 -MD5 4350e2ac1f27eccad0d7ce2aab90cdf6 gimp-print-4.2.0.tar.gz 4501914 -MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz 613261 -MD5 c3a1979dc98b6eaa3df941e94afd14cf libpng-1.2.1.tar.bz2 365115 -MD5 ea16358be41384870acbdc372f9db152 zlib-1.1.4.tar.bz2 147014 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.00 b/app-text/ghostscript/files/digest-ghostscript-7.00 deleted file mode 100644 index 58713bf929c0..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.00 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 7e11f6408fd2305b926cd44c5577440f ghostscript-7.00.tar.gz 4543974 -MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 -MD5 770e035d3f272c47af1cfb0a9a5b01fd print-4.1.1.tar.gz 2728858 -MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz 613261 -MD5 3329b745968e41f6f9e55a4d04a4964c libpng-1.0.12.tar.gz 481387 -MD5 ada18615d2a66dee4d6f5ff916ecd4c6 zlib-1.1.3.tar.gz 168463 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05 b/app-text/ghostscript/files/digest-ghostscript-7.05 new file mode 100644 index 000000000000..6bf899394224 --- /dev/null +++ b/app-text/ghostscript/files/digest-ghostscript-7.05 @@ -0,0 +1,4 @@ +MD5 821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2 4103119 +MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 +MD5 33457d3f37de7ef03d2eea05a9e6aa4f gnu-gs-fonts-other-6.0.tar.gz 796086 +MD5 ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz 37283 diff --git a/app-text/ghostscript/files/ghostscript-6.50-time_.h-gentoo.diff b/app-text/ghostscript/files/ghostscript-6.50-time_.h-gentoo.diff deleted file mode 100644 index 77671febb8db..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.50-time_.h-gentoo.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- src/time_.h~ Tue Sep 19 21:00:51 2000 -+++ src/time_.h Mon Mar 5 06:16:46 2001 -@@ -38,9 +38,7 @@ - */ - #ifdef HAVE_SYS_TIME_H - # include <sys/time.h> --# if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) /* Plan 9, SCO, AIX and Sequent's DYNIX/ptx need both time.h and sys/time.h! */ --# include <time.h> --# endif -+# include <time.h> - #else - # include <time.h> - # ifndef __DECC diff --git a/app-text/ghostscript/files/ghostscript-7.00-time_.h-gentoo.diff b/app-text/ghostscript/files/ghostscript-7.00-time_.h-gentoo.diff deleted file mode 100644 index 77671febb8db..000000000000 --- a/app-text/ghostscript/files/ghostscript-7.00-time_.h-gentoo.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- src/time_.h~ Tue Sep 19 21:00:51 2000 -+++ src/time_.h Mon Mar 5 06:16:46 2001 -@@ -38,9 +38,7 @@ - */ - #ifdef HAVE_SYS_TIME_H - # include <sys/time.h> --# if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) /* Plan 9, SCO, AIX and Sequent's DYNIX/ptx need both time.h and sys/time.h! */ --# include <time.h> --# endif -+# include <time.h> - #else - # include <time.h> - # ifndef __DECC diff --git a/app-text/ghostscript/files/lxm3200-gentoo.diff b/app-text/ghostscript/files/lxm3200-gentoo.diff new file mode 100644 index 000000000000..1a84baaddca2 --- /dev/null +++ b/app-text/ghostscript/files/lxm3200-gentoo.diff @@ -0,0 +1,32 @@ +diff -uP --to-file ../ghost/ ghostscript-7.05/src/Makefile.in ../ghost/Makefile.in +--- ghostscript-7.05/src/Makefile.in Sat Apr 20 00:23:09 2002 ++++ ../ghost/Makefile.in Sun May 12 17:09:07 2002 +@@ -360,7 +360,7 @@ + DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev + DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev + DEVICE_DEVS5=$(DD)uniprint.dev @IJSDEVS@ @STPDEVS@ +-DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev ++DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev $(DD)lxm3200.dev + DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev + DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev + DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev +diff -uP --to-file ../ghost/ ghostscript-7.05/src/contrib.mak ../ghost/contrib.mak +--- ghostscript-7.05/src/contrib.mak Fri Feb 22 20:45:55 2002 ++++ ../ghost/contrib.mak Sun May 12 17:10:16 2002 +@@ -652,6 +652,16 @@ + $(GLOBJ)gdevlxm.$(OBJ) : $(GLSRC)gdevlxm.c $(PDEVH) $(gsparams_h) + $(GLCC) $(GLO_)gdevlxm.$(OBJ) $(C_) $(GLSRC)gdevlxm.c + ++### ---------------- Lexmark 3200 device ----------------- ### ++ ++lxm3200_=$(GLOBJ)gdevlx32.$(OBJ) ++ ++$(GLOBJ)gdevlx32.$(OBJ): $(GLSRC)gdevlx32.c $(PDEVH) $(gsparam_h) ++ $(GLCC) $(GLO_)gdevlx32.$(OBJ) $(C_) $(GLSRC)gdevlx32.c ++ ++$(DD)lxm3200.dev: $(lxm3200_) $(DD)page.dev ++ $(SETPDEV) $(DD)lxm3200 $(lxm3200_) ++ + ### ----------------- The Okidata MicroLine 182 device ----------------- ### + ### Note: this driver was contributed by a user: please contact ### + ### Maarten Koning (smeg@bnr.ca) if you have questions. ### diff --git a/app-text/ghostscript/ghostscript-6.50-r2.ebuild b/app-text/ghostscript/ghostscript-6.50-r2.ebuild deleted file mode 100644 index a07c30cc4031..000000000000 --- a/app-text/ghostscript/ghostscript-6.50-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Desktop Team <desktop@gentoo.org> -# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-6.50-r2.ebuild,v 1.10 2001/10/13 04:37:04 drobbins Exp $ - -GPV="4.1.1" -A1=jpegsrc.v6b.tar.gz -A2=zlib-1.1.3.tar.gz -A3=libpng-1.0.12.tar.gz - -S=${WORKDIR}/gs${PV} -DESCRIPTION="Aladdin Ghostscript" -SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.gz http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz http://download.sourceforge.net/gimp-print/print-${GPV}.tar.gz ftp://ftp.uu.net/graphics/jpeg/${A1} ftp://swrinde.nde.swri.edu/pub/png/src/${A3} ftp://ftp.freesoftware.com/pub/infozip/zlib/${A2}" - -DEPEND="virtual/glibc =media-libs/libpng-1.0.12 virtual/x11" - -src_unpack() { - unpack ${A} - cd ${S} - patch -p0 < ${FILESDIR}/${P}-time_.h-gentoo.diff - #touch src/gdevstp-print.h - mkdir zlib - cd zlib - unpack ${A2} - cd .. - mkdir jpeg - cd jpeg - unpack ${A1} - cd .. - mkdir libpng - cd libpng - unpack ${A3} - cd ../src - cp ${O}/files/all-arch.mak all-arch.mak - cd ${WORKDIR}/print-${GPV}/Ghost - cp *.c *.h ${S}/src - cat contrib.mak.addon >> ${S}/src/contrib.mak - cd ${S}/src - cp unix-gcc.mak unix-gcc.mak.orig - sed -e "s:^DEVICE_DEVS6=:DEVICE_DEVS6=\$\(DD\)stp\.dev :" unix-gcc.mak.orig > unix-gcc.mak -} - -src_compile() { - cd ${S}/src - cp all-arch.mak all-arch.mak.orig - sed -e "s:^SRCDIR.*:SRCDIR = ${S}:" all-arch.mak.orig > all-arch.mak - cp unix-gcc.mak unix-gcc.mak.orig - sed -e "s:-O2:${CFLAGS}:" unix-gcc.mak.orig > unix-gcc.mak - cd .. - make -f src/all-arch.mak linux prefix=/usr || die - cd ${WORKDIR}/print-${GPV}/Ghost - make || die -} - -src_install() { - dodir /usr/share/man/man1 - dobin bin/gs - make -f src/all-arch.mak prefix=${D}/usr BINDIR=${D}/usr/bin man1dir=${D}/usr/share/man/man1 install || die - rm -rf ${D}/usr/man - cd ${WORKDIR} - cp -a fonts ${D}/usr/share/ghostscript - cd ${S} - - dodir /usr/share/doc/${PF} - rm -rf ${D}/usr/share/ghostscript/${PV}/doc - dodoc doc/README doc/PUBLIC - docinto html - dodoc doc/*.html doc/*.htm - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - - cd ${WORKDIR}/print-${GPV}/Ghost - dobin escputil - docinto stp - dodoc README* COPYING ChangeLog -} diff --git a/app-text/ghostscript/ghostscript-6.53-r1.ebuild b/app-text/ghostscript/ghostscript-6.53-r1.ebuild deleted file mode 100644 index e34cbe4278da..000000000000 --- a/app-text/ghostscript/ghostscript-6.53-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>, Geert Bevin <gbevin@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-6.53-r1.ebuild,v 1.1 2002/03/13 20:59:39 gbevin Exp $ - -GPV="4.2.0" -JPEG=jpegsrc.v6b.tar.gz -ZLIB=zlib-1.1.4.tar.bz2 -LIBPNG=libpng-1.2.1.tar.bz2 - -S=${WORKDIR}/${P} -DESCRIPTION="GNU Ghostscript" -SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.bz2 - http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz - http://download.sourceforge.net/gimp-print/gimp-print-${GPV}.tar.gz - ftp://ftp.uu.net/graphics/jpeg/${JPEG} - http://prdownloads.sourceforge.net/libpng/${LIBPNG} - ftp://ftp.freesoftware.com/pub/infozip/zlib/${ZLIB}" - -DEPEND="virtual/glibc - virtual/x11" - - -src_unpack() { - - unpack ${A} - - cd ${S} - patch -p1 < ${FILESDIR}/${P}-gdi-gentoo.diff || die - patch -p1 < ${FILESDIR}/${P}-gimpprint-gentoo.diff || die - cp ${FILESDIR}/gdevgdi.c ${S}/src || die - - local tmpdir=${JPEG/src.v/-} - tmpdir=${tmpdir/.tar.gz/} - mv ${WORKDIR}/${tmpdir} ${S}/jpeg || die - - tmpdir=${ZLIB/.tar.bz2/} - mv ${WORKDIR}/${tmpdir} ${S}/zlib || die - - tmpdir=${LIBPNG/.tar.bz2/} - mv ${WORKDIR}/${tmpdir} ${S}/libpng || die - - cd ${WORKDIR}/gimp-print-${GPV} - ./configure --without-gimp --enable-static --disable-shared || die - cd ${WORKDIR}/gimp-print-${GPV}/src/ghost - cp *.c ${S}/src || die - cd ${WORKDIR}/gimp-print-${GPV}/include/gimp-print - mkdir ${S}/src/gimp-print - cp *.h ${S}/src/gimp-print || die - cat contrib.mak.addon >> ${S}/src/contrib.mak - - cd ${S}/src - cp unix-gcc.mak unix-gcc.mak.orig - sed -e "s:^DEVICE_DEVS6=:DEVICE_DEVS6=\$\(DD\)stp\.dev :" \ - -e "s:CFLAGS_STANDARD=-O2:CFLAGS_STANDARD=${CFLAGS}:" \ - -e "s:XLIBDIRS=-L/usr/X11/lib:XLIBDIRS=-L/usr/X11R6/lib:" \ - -e "s:XLIBS=Xt Xext X11:XLIBS=Xt SM ICE Xext X11:" \ - unix-gcc.mak.orig > unix-gcc.mak -} - -src_compile() { - - cd ${WORKDIR}/gimp-print-${GPV} - emake || die - - cd ${S} - ln -sf src/unix-gcc.mak Makefile - emake prefix=/usr || die -} - -src_install() { - - dodir /usr/{bin,share/man/man1} - make prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - install || die - - mv ${D}/usr/bin/gs ${D}/usr/bin/gs-${PV} - dosym /usr/bin/gs-${PV} /usr/bin/gs - - cd ${WORKDIR} - cp -a fonts ${D}/usr/share/ghostscript - cd ${S} - - dodir /usr/share/doc/${PF} - rm -rf ${D}/usr/share/ghostscript/${PV}/doc - dodoc doc/README doc/PUBLIC doc/COPYING* - dohtml doc/* - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - - cd ${WORKDIR}/gimp-print-${GPV} - dobin src/escputil/escputil - docinto stp - dodoc README* COPYING ChangeLog -} diff --git a/app-text/ghostscript/ghostscript-7.00.ebuild b/app-text/ghostscript/ghostscript-7.00.ebuild deleted file mode 100644 index 7cbf4cdb5c32..000000000000 --- a/app-text/ghostscript/ghostscript-7.00.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.00.ebuild,v 1.5 2002/04/28 03:59:29 seemant Exp $ - - -GPV="4.1.1" -A1=jpegsrc.v6b.tar.gz -A2=zlib-1.1.3.tar.gz -A3=libpng-1.0.12.tar.gz -S=${WORKDIR}/gs${PV} -DESCRIPTION="Aladin Ghostscript" -SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.gz - http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz - http://download.sourceforge.net/gimp-print/print-${GPV}.tar.gz - ftp://ftp.uu.net/graphics/jpeg/${A1} - ftp://swrinde.nde.swri.edu/pub/png/src/${A3} - ftp://ftp.freesoftware.com/pub/infozip/zlib/${A2}" - -DEPEND="virtual/glibc - =media-libs/libpng-1.0.12 - virtual/x11" - -src_unpack() { - unpack ${A} - cd ${S} - patch -p0 < ${FILESDIR}/${P}-time_.h-gentoo.diff - #touch src/gdevstp-print.h - mkdir zlib - cd zlib - unpack ${A2} - cd .. - mkdir jpeg - cd jpeg - unpack ${A1} - cd .. - mkdir libpng - cd libpng - unpack ${A3} - cd ../src - cp ${O}/files/all-arch.mak all-arch.mak - cd ${WORKDIR}/print-${GPV}/Ghost - cp *.c *.h ${S}/src - cat contrib.mak.addon >> ${S}/src/contrib.mak - cd ${S}/src - cp unix-gcc.mak unix-gcc.mak.orig - sed -e "s:^DEVICE_DEVS6=:DEVICE_DEVS6=\$\(DD\)stp\.dev :" \ - unix-gcc.mak.orig > unix-gcc.mak -} - -src_compile() { - - cd ${S}/src - cp all-arch.mak all-arch.mak.orig - sed -e "s:^SRCDIR.*:SRCDIR = ${S}:" all-arch.mak.orig > all-arch.mak - cp unix-gcc.mak unix-gcc.mak.orig - sed -e "s:-O2:${CFLAGS}:" \ - unix-gcc.mak.orig > unix-gcc.mak - cd .. - make -f src/all-arch.mak linux prefix=/usr || die - cd ${WORKDIR}/print-${GPV}/Ghost - make || die - -} - -src_install() { - - dodir /usr/share/man/man1 - dobin bin/gs - make -f src/all-arch.mak \ - prefix=${D}/usr \ - BINDIR=${D}/usr/bin \ - man1dir=${D}/usr/share/man/man1 \ - install || die - rm -rf ${D}/usr/man - cd ${WORKDIR} - cp -a fonts ${D}/usr/share/ghostscript - cd ${S} - - dodir /usr/share/doc/${PF} - rm -rf ${D}/usr/share/ghostscript/${PV}/doc - dodoc doc/README doc/PUBLIC - docinto html - dodoc doc/*.html doc/*.htm - insinto /usr/share/emacs/site-lisp - doins doc/gsdoc.el - - cd ${WORKDIR}/print-${GPV}/Ghost - dobin escputil - docinto stp - dodoc README* COPYING ChangeLog - -} diff --git a/app-text/ghostscript/ghostscript-7.05.ebuild b/app-text/ghostscript/ghostscript-7.05.ebuild new file mode 100644 index 000000000000..6a674aa90695 --- /dev/null +++ b/app-text/ghostscript/ghostscript-7.05.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Markus Krainer <markus-krainer@chello.at> +# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.5 2002/04/29 22:56:53 sandymac Exp + +S=${WORKDIR}/${P} +DESCRIPTION="GNU Ghostscript" +SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.bz2 + http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz + http://download.sourceforge.net/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz + http://lxm3200.sourceforge.net/lxm3200-0.4.1-gs5.50-src.tar.gz" + +DEPEND="virtual/glibc + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.1 + >=sys-libs/zlib-1.1.4 + X? ( virtual/x11 )" +SLOT="0" + +src_unpack() { + +unpack ${P}.tar.bz2 +unpack ghostscript-fonts-std-6.0.tar.gz +unpack gnu-gs-fonts-other-6.0.tar.gz +unpack lxm3200-0.4.1-gs5.50-src.tar.gz + +cd ${WORKDIR} +patch -p0 < ${FILESDIR}/lxm3200-gentoo.diff + +cp ${WORKDIR}/lxm3200-0.4.1-gs5.50-src/gdevlx32.c ${S}/src/ + +} + + +src_compile() { + use X && myconf="--with-x" + use X || myconf="--without-x" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-gimp-print \ + ${myconf} || die "./configure failed" + + make || die "make failed" +} + +src_install() { + + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + install || die "make install failed" + + cd ${WORKDIR} + cp -a fonts ${D}/usr/share/ghostscript + cd ${S} + + rm -fr ${D}/usr/share/ghostscript/7.05/doc + dodoc doc/README doc/COPYING doc/COPYING.LGPL + dohtml doc/*.html doc/*.htm + insinto /usr/share/emacs/site-lisp + doins doc/gsdoc.el +} |