blob: 0abc5ee92dc4166696dfae973a47c39efbc6d1f7 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctl/lmctl-0.3.2-r3.ebuild,v 1.1 2005/09/08 13:39:56 s4t4n Exp $
inherit fixheadtails eutils
MY_P=${P/-/_}
DESCRIPTION="Utility to change modern logitech mouse parameters"
SRC_URI="http://www.bedroomlan.org/~alexios/files/SOFTWARE/lmctl/${MY_P}.tar.gz"
HOMEPAGE="http://www.bedroomlan.org/~alexios/coding_lmctl.html"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="virtual/libc
>=dev-libs/libusb-0.1.8"
src_unpack() {
unpack ${A} || die "unpack error"
mv ${WORKDIR}/lmctl-0.3.1 ${WORKDIR}/lmctl-0.3.2 || die "mv failed"
cd ${S} || die
ht_fix_file ./configure
cd src/ || die
epatch ${FILESDIR}/C-BK16A-DUAL.patch
epatch ${FILESDIR}/0.3.2-beautyfix.diff
epatch ${FILESDIR}/0.3.2-cordless-optical-4-notebooks.diff
}
src_compile() {
econf || die "bad ./configure please submit a bug report to bugs.gentoo.org \
and include your config.log"
emake || die "problem compiling lmctl"
}
src_install() {
make DESTDIR=${D} install || die
dodoc Changelog README
}
|