blob: 93888331703d31c8cd0ea8911a58b161d5f99c62 (
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
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/sjog/sjog-0.6-r1.ebuild,v 1.2 2006/11/13 19:26:22 ticho Exp $
inherit eutils
DESCRIPTION="sjog - tool for the Sony Vaio jogdial"
HOMEPAGE="http://sjog.sourceforge.net/"
SRC_URI="mirror://sourceforge/sjog/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*
media-libs/gdk-pixbuf
=dev-libs/glib-1.2*"
src_unpack() {
unpack ${A}; cd ${S}
epatch ${FILESDIR}/${P}-gcc4.patch
}
src_install() {
make DESTDIR=${D} install
}
pkg_postinst() {
einfo "Please ensure that the module sonypi is probed with the option"
einfo "useinput=0. For example:"
einfo
einfo "# modprobe sonypi useinput=0"
einfo
einfo "Otherwise, you will get multiple events being called."
}
|