blob: daffb8fdb5c169c5387fb78854ed126904fa619f (
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
35
36
37
38
39
40
41
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EGIT_REPO_URI="http://web.telia.com/~u89404340/touchpad/synaptics/.git/"
inherit git
DESCRIPTION="The latest from the synaptics git tree."
HOMEPAGE="http://web.telia.com/~u89404340/touchpad/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libXext"
DEPEND="${RDEPEND}
x11-base/xorg-server
>=sys-apps/sed-4"
src_unpack() {
git_src_unpack
# Switch up the CC and CFLAGS stuff.
sed -i \
-e "s:CC = gcc:CC = $(tc-getCC):g" \
-e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \
"${S}"/Makefile
}
src_install() {
make \
DESTDIR="${D}" \
PREFIX=/usr \
MANDIR="${D}"/usr/share/man \
install || die
dodoc script/usbmouse script/usbhid alps.patch trouble-shooting.txt
dodoc COMPATIBILITY FILES INSTALL* LICENSE NEWS TODO README*
}
|