blob: 27086d38355ab505b540edb16fa8d1f98213b995 (
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
|
# 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-r1.ebuild,v 1.1 2005/01/08 11:59:25 hollow 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://bedroomlan.dyndns.org/~alexios/coding_lmctl.html"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
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
}
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
}
|