diff options
-rw-r--r-- | app-misc/sonypid/files/digest-sonypid-1.4 | 1 | ||||
-rw-r--r-- | app-misc/sonypid/sonypid-1.4.ebuild | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-misc/sonypid/files/digest-sonypid-1.4 b/app-misc/sonypid/files/digest-sonypid-1.4 new file mode 100644 index 000000000000..5059df7e95b9 --- /dev/null +++ b/app-misc/sonypid/files/digest-sonypid-1.4 @@ -0,0 +1 @@ +MD5 484f50cebfabe4b863e0ecb0e9f0219c sonypid-1.4.tar.bz2 2453 diff --git a/app-misc/sonypid/sonypid-1.4.ebuild b/app-misc/sonypid/sonypid-1.4.ebuild new file mode 100644 index 000000000000..8d7987342e40 --- /dev/null +++ b/app-misc/sonypid/sonypid-1.4.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/sonypid/sonypid-1.4.ebuild,v 1.1 2002/11/17 22:05:43 hanno Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="sonypid - a tool to use the Sony Vaios jog-dial as a mouse-wheel" +HOMEPAGE="http://spop.free.fr/sonypi/" +SRC_URI="http://spop.free.fr/sonypi/${P}.tar.bz2" + +IUSE="" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 -ppc -sparc -sparc64" + +DEPEND="virtual/x11" + +src_compile() { + mv sonypid.c sonypid.c.orig + sed -e 's#sonypi.h#linux/sonypi.h#g' sonypid.c.orig > sonypid.c + emake CFLAGS="${CFLAGS} -I/usr/src/linux/include/" || die +} + +src_install () { + dobin sonypid +} |