blob: 8d7987342e404a234b138395cf5f53edee14c3a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}
|