summaryrefslogtreecommitdiff
blob: 9caa2a37a9e0f6ce6f75b9e2e44e850df005bf4c (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/logitech-applet/logitech-applet-0.4_pre1-r2.ebuild,v 1.4 2009/05/16 09:24:27 robbat2 Exp $

inherit eutils

MY_P=${P/_pre/test}
MY_P=${MY_P/-applet/_applet}

DESCRIPTION="Control utility for some special features of some special
			Logitech USB mice!"
HOMEPAGE="http://freshmeat.net/projects/logitech_applet/"
SRC_URI="http://www.frogmouth.net/${MY_P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="virtual/libc
	=virtual/libusb-0*"

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}/logitech_applet-mx518.patch" || die "Failed to apply
		patch"
	epatch "${FILESDIR}/add-new-id-of-mx300.patch" || die "Failed to apply
		patch"
}

src_install() {
	dosbin logitech_applet
	dodoc AUTHORS ChangeLog README doc/article.txt
}