summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-10-24 06:45:51 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-10-24 06:45:51 +0000
commit5653b7b0c7bdbd619777cb6a5e4eda65de4b2640 (patch)
tree9ca9f8b703566dd475e44cc577170a18b73ca932 /sys-libs
parentAdded a gcc3.x fix (diff)
downloadgentoo-2-5653b7b0c7bdbd619777cb6a5e4eda65de4b2640.tar.gz
gentoo-2-5653b7b0c7bdbd619777cb6a5e4eda65de4b2640.tar.bz2
gentoo-2-5653b7b0c7bdbd619777cb6a5e4eda65de4b2640.zip
tasty fun ebuild fixage, see ChangeLog
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/gpm/ChangeLog12
-rw-r--r--sys-libs/gpm/files/digest-gpm-1.20.0-r42
-rw-r--r--sys-libs/gpm/gpm-1.20.0-r4.ebuild54
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-libs/gpm/ChangeLog b/sys-libs/gpm/ChangeLog
index 996b518bd78f..adb5d252be46 100644
--- a/sys-libs/gpm/ChangeLog
+++ b/sys-libs/gpm/ChangeLog
@@ -1,6 +1,16 @@
# 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.8 2002/09/11 14:16:09 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.9 2002/10/24 06:45:51 lostlogic Exp $
+
+*gpm-1.20.0-r4 (23 Oct 2002)
+
+ 23 Oct 2002; Seemant Kulleen <seemant@gentoo.org> gpm-1.20.0-r4.ebuild :
+
+ The ebuild kinda smelled bad, so I gave it a refresher.
+ - Change make to MAKEOPTS="-j1" emake
+ - Change make blah install to einstall
+ - (the kicker) make all libraries, not just some mode 755 to prevent
+ a segfault I was getting when trying to start mc.
*gpm-1.20.0-r3 (3 Jun 2002)
diff --git a/sys-libs/gpm/files/digest-gpm-1.20.0-r4 b/sys-libs/gpm/files/digest-gpm-1.20.0-r4
new file mode 100644
index 000000000000..77ba65782919
--- /dev/null
+++ b/sys-libs/gpm/files/digest-gpm-1.20.0-r4
@@ -0,0 +1,2 @@
+MD5 ab33423219cfef97fce158af48d3ad8c gpm-1.20.0.tar.bz2 390987
+MD5 efed498fca612e0d08824f26fad1d2d3 gpm-1.20.1-patch.tar.bz2 5171
diff --git a/sys-libs/gpm/gpm-1.20.0-r4.ebuild b/sys-libs/gpm/gpm-1.20.0-r4.ebuild
new file mode 100644
index 000000000000..0263e2a173d0
--- /dev/null
+++ b/sys-libs/gpm/gpm-1.20.0-r4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.0-r4.ebuild,v 1.1 2002/10/24 06:45:51 lostlogic Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Console-based mouse driver"
+SRC_URI="ftp://arcana.linux.it/pub/gpm/gpm-1.20.0.tar.bz2
+ http://www.ibiblio.org/gentoo/distfiles/gpm-1.20.1-patch.tar.bz2"
+HOMEPAGE="ftp://arcana.linux.it/pub/gpm/"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ sys-devel/autoconf"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+
+src_compile() {
+ #this little hack turns off EMACS byte compilation. Really don't want
+ #this thing auto-detecting emacs
+ patch -p1 < ${WORKDIR}/gpm.patch || die
+ econf --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
+
+ MAKEOPTS="-j1" emake || die
+}
+
+src_install() {
+ if [ ! -e ${S}/mkinstalldirs ]
+ then
+ #create missing script
+ echo 'mkdir -p "$@"' > ${S}/mkinstalldirs
+ chmod u+x ${S}/mkinstalldirs
+ fi
+ einstall
+ chmod 755 ${D}/usr/lib/*
+ dodoc BUGS COPYING ChangeLog Changes MANIFEST README TODO
+ dodoc doc/Announce doc/FAQ doc/README*
+ doinfo doc/gpm.info
+
+ 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
+}