# 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* }