diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-05-26 21:50:47 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-05-26 21:50:47 +0000 |
commit | 2d75ebd61a08931dd22c0d3224baf5758bf1a014 (patch) | |
tree | dbbf039e80cdd3b0a8fbec473956a3a50d6632b2 /sys-libs | |
parent | code patch to support gcc3.1 (thanks to yasea@gmx.net) (diff) | |
download | gentoo-2-2d75ebd61a08931dd22c0d3224baf5758bf1a014.tar.gz gentoo-2-2d75ebd61a08931dd22c0d3224baf5758bf1a014.tar.bz2 gentoo-2-2d75ebd61a08931dd22c0d3224baf5758bf1a014.zip |
add old version as new is too buggy
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/gpm/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/gpm/files/digest-gpm-1.19.6 | 1 | ||||
-rw-r--r-- | sys-libs/gpm/gpm-1.19.6.ebuild | 75 |
3 files changed, 85 insertions, 1 deletions
diff --git a/sys-libs/gpm/ChangeLog b/sys-libs/gpm/ChangeLog index 374effad9094..b52df6b57822 100644 --- a/sys-libs/gpm/ChangeLog +++ b/sys-libs/gpm/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-libs/gpm # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.3 2002/03/05 03:53:22 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.4 2002/05/26 21:50:47 azarah Exp $ + +*gpm-1.19.6 (26 May 2002) + + 26 May 2002; Martin Schlemmer <azarah@gentoo.org> + + Added 1.19.6 back again, as I and many other have problems with 1.20.0. + It gives problems with svgalib and ncurses (give debug info and do not + work), and dies randomly. *gpm-1.20.0-r1 (4 March 2002) diff --git a/sys-libs/gpm/files/digest-gpm-1.19.6 b/sys-libs/gpm/files/digest-gpm-1.19.6 new file mode 100644 index 000000000000..797be6ed5d15 --- /dev/null +++ b/sys-libs/gpm/files/digest-gpm-1.19.6 @@ -0,0 +1 @@ +MD5 9b8937b1d36e754df5ea79558e6f1b2e gpm-1.19.6.tar.bz2 302411 diff --git a/sys-libs/gpm/gpm-1.19.6.ebuild b/sys-libs/gpm/gpm-1.19.6.ebuild new file mode 100644 index 000000000000..77503dc287ad --- /dev/null +++ b/sys-libs/gpm/gpm-1.19.6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.19.6.ebuild,v 1.3 2002/05/26 21:50:47 azarah Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Console-based mouse driver" +SRC_URI="ftp://arcana.linux.it/pub/gpm/${P}.tar.bz2" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2 + sys-devel/autoconf" + +RDEPEND="virtual/glibc" + +src_compile() { + #this little hack turns off EMACS byte compilation. Really don't want + #this thing auto-detecting emacs + env ac_cv_path_emacs=no \ + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --sysconfdir=/etc/gpm || die + + # Do not create gpmdoc.ps, as it cause build to fail with our version + # of tetex (it is already there, so this will only create missing + # manpages) + cp doc/Makefile doc/Makefile.orig + sed -e 's:all\: $(srcdir)/gpmdoc.ps:all\::' \ + doc/Makefile.orig > doc/Makefile + + emake || die +} + +src_install() { + if [ ! -e ${S}/mkinstalldirs ] + then + #create missing script + echo 'mkdir -p "$@"' > ${S}/mkinstalldirs + chmod u+x ${S}/mkinstalldirs + fi + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + sysconfdir=${D}/etc/gpm \ + install || die + + chmod 755 ${D}/usr/lib/libgpm.so.* + + dodoc BUGS COPYING ChangeLog Changes MANIFEST README TODO + dodoc doc/Announce doc/FAQ doc/README* +# doman doc/gpm.8 doc/mev.1 doc/gpm-root.1 doc/gpm-types.7 doc/mouse-test.1 + doinfo doc/gpm.info +# docinto txt +# dodoc doc/gpmdoc.txt +# docinto ps +# dodoc doc/gpmdoc.ps + + insinto /etc/gpm + doins conf/gpm-*.conf + + exeinto /etc/init.d + newexe ${FILESDIR}/gpm.rc6 gpm + insinto /etc/conf.d + newins ${FILESDIR}/gpm.conf.d gpm +} + +pkg_preinst() { + # Gives problems (was linked to wrong lib for me) + if [ -f /usr/lib/libgpm.so.1 ] + then + rm -f /usr/lib/libgpm.so.1 + fi +} + |