summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-21 00:58:48 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-21 00:58:48 +0000
commit452ae14cfaa10ad783ec3fea752d16f83f31f17a (patch)
treea4a27902b3aa0fb899a0e923318c22886e218aad /sys-apps/mouseemu/mouseemu-0.15.ebuild
parentAdded patches from RedHat to support PIEs in gdb-6.3 (diff)
downloadgentoo-2-452ae14cfaa10ad783ec3fea752d16f83f31f17a.tar.gz
gentoo-2-452ae14cfaa10ad783ec3fea752d16f83f31f17a.tar.bz2
gentoo-2-452ae14cfaa10ad783ec3fea752d16f83f31f17a.zip
respect CFLAGS/LDFLAGS
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps/mouseemu/mouseemu-0.15.ebuild')
-rw-r--r--sys-apps/mouseemu/mouseemu-0.15.ebuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/sys-apps/mouseemu/mouseemu-0.15.ebuild b/sys-apps/mouseemu/mouseemu-0.15.ebuild
index 0715e086538b..be0035efb954 100644
--- a/sys-apps/mouseemu/mouseemu-0.15.ebuild
+++ b/sys-apps/mouseemu/mouseemu-0.15.ebuild
@@ -1,36 +1,33 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mouseemu/mouseemu-0.15.ebuild,v 1.1 2005/05/08 23:46:10 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mouseemu/mouseemu-0.15.ebuild,v 1.2 2006/02/21 00:58:48 vapier Exp $
inherit eutils
DESCRIPTION="Emulates scrollwheel, right- & left-click for one-button mice/touchpads"
HOMEPAGE="http://geekounet.org/powerbook/"
SRC_URI="http://geekounet.org/powerbook/files/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~ppc"
IUSE=""
+
DEPEND=""
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PN}-0.13-fix.patch
-}
-
-src_compile() {
- echo `pwd`
- emake || die
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.13-fix.patch
+ epatch "${FILESDIR}"/${PN}-0.15-build.patch
}
src_install() {
- dosbin mouseemu
- dodoc README COPYING
- exeinto /etc/init.d/
- newexe mouseemu.init.gentoo mouseemu
+ dosbin mouseemu || die
+ dodoc README
+ newinitd mouseemu.init.gentoo mouseemu
insinto /etc
doins mouseemu.conf
}