tasty fun ebuild fixage, see ChangeLog
authorBrandon Low <lostlogic@gentoo.org>
Thu, 24 Oct 2002 06:45:51 +0000 (06:45 +0000)
committerBrandon Low <lostlogic@gentoo.org>
Thu, 24 Oct 2002 06:45:51 +0000 (06:45 +0000)
sys-libs/gpm/ChangeLog
sys-libs/gpm/files/digest-gpm-1.20.0-r4 [new file with mode: 0644]
sys-libs/gpm/gpm-1.20.0-r4.ebuild [new file with mode: 0644]

index 996b518bd78f457b82aeee3802aefafd22bd4d1f..adb5d252be46939b18135d4672f9aa8a5d0bd500 100644 (file)
@@ -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 (file)
index 0000000..77ba657
--- /dev/null
@@ -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 (file)
index 0000000..0263e2a
--- /dev/null
@@ -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
+}