diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-08-23 19:26:06 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-08-23 19:26:06 +0000 |
commit | d506aa141cfa2b9ad5eabc8c1c9d0e916b4bcb94 (patch) | |
tree | 2547ee45648f72acc922177eba3f9c77a3336888 /sys-libs | |
parent | updated digest (diff) | |
download | gentoo-2-d506aa141cfa2b9ad5eabc8c1c9d0e916b4bcb94.tar.gz gentoo-2-d506aa141cfa2b9ad5eabc8c1c9d0e916b4bcb94.tar.bz2 gentoo-2-d506aa141cfa2b9ad5eabc8c1c9d0e916b4bcb94.zip |
fixes fixes fixes
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/gpm/gpm-1.19.3-r3.ebuild | 95 |
1 files changed, 44 insertions, 51 deletions
diff --git a/sys-libs/gpm/gpm-1.19.3-r3.ebuild b/sys-libs/gpm/gpm-1.19.3-r3.ebuild index 5877c65de407..1711c4210ddf 100644 --- a/sys-libs/gpm/gpm-1.19.3-r3.ebuild +++ b/sys-libs/gpm/gpm-1.19.3-r3.ebuild @@ -1,65 +1,58 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.19.3-r3.ebuild,v 1.1 2001/05/22 15:19:05 pete Exp $ +# Maintainer: System Team <system@gentoo.org> +# Author: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.19.3-r3.ebuild,v 1.2 2001/08/23 19:26:06 drobbins Exp $ -#P= -A="${P}.tar.gz devfs.patch" S=${WORKDIR}/${P} DESCRIPTION="Console-based mouse driver" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/mouse/${A} - ftp://ftp.prosa.it/pub/gpm/patches/devfs.patch" - -DEPEND="virtual/glibc - >=sys-libs/ncurses-5.2 - tex? ( app-text/tetex )" - +SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/mouse/${P}.tar.gz ftp://ftp.prosa.it/pub/gpm/patches/devfs.patch" +DEPEND="virtual/glibc >=sys-libs/ncurses-5.2 tex? ( app-text/tetex ) sys-devel/autoconf" RDEPEND="virtual/glibc" src_unpack() { - - unpack ${P}.tar.gz - cd ${S} - cp ${FILESDIR}/gpmInt.h . - patch -p1 < ${DISTDIR}/devfs.patch - + unpack ${P}.tar.gz + cd ${S} + cp ${FILESDIR}/gpmInt.h . + patch -p1 < ${DISTDIR}/devfs.patch + #this little hack turns of EMACS byte compilation. Really don't want this thing auto-detecting emacs + cp configure.in configure.in.orig + sed -e '45i\' -e 'EMACS=:\' -e 'ELISP=' configure.in.orig > configure.in || die + autoconf || die } src_compile() { - - try ./configure --prefix=/usr --sysconfdir=/etc/gpm - # without-curses is required to avoid cyclic dependencies to ncurses - cp Makefile Makefile.orig - if [ -z "`use tex`" ] - then - sed -e "s/doc//" Makefile.orig > Makefile - fi - try make ${MAKEOPTS} + ./configure --prefix=/usr --sysconfdir=/etc/gpm || die + # without-curses is required to avoid cyclic dependencies to ncurses + cp Makefile Makefile.orig + if [ -z "`use tex`" ] + then + #The emacs stuff turns off auto byte-"complication" + sed -e "s/doc//" Makefile.orig > Makefile + #-e '/$(EMACS)/c\' -e ' echo' + fi + emake || die } src_install() { - - try make prefix=${D}/usr install - - chmod 755 ${D}/usr/lib/libgpm.so.1.18.0 - - dodoc Announce COPYING ChangeLog FAQ MANIFEST README.* - docinto txt - dodoc doc/gpmdoc.txt - - if [ "`use tex`" ] - then - docinto ps - dodoc doc/*.ps - fi - - insinto /etc/gpm - doins gpm-root.conf - - exeinto /etc/rc.d/init.d - newexe ${FILESDIR}/${PN}-${PVR} ${PN} - newexe ${FILESDIR}/svc-${PN}-${PVR} svc-${PN} - exeinto /var/lib/supervise/services/${PN} - newexe ${FILESDIR}/${PN}-run-${PVR} run - + make prefix=${D}/usr install || die + chmod 755 ${D}/usr/lib/libgpm.so.1.18.0 + dodoc Announce COPYING ChangeLog FAQ MANIFEST README.* + docinto txt + dodoc doc/gpmdoc.txt + + if [ "`use tex`" ] + then + docinto ps + dodoc doc/*.ps + fi + + insinto /etc/gpm + doins gpm-root.conf + + exeinto /etc/rc.d/init.d + newexe ${FILESDIR}/${PN}-${PVR} ${PN} + newexe ${FILESDIR}/svc-${PN}-${PVR} svc-${PN} + exeinto /var/lib/supervise/services/${PN} + newexe ${FILESDIR}/${PN}-run-${PVR} run } |