summaryrefslogtreecommitdiff
path: root/dev-libs/libg15/libg15-9999.ebuild
blob: 4b0132a735632d72e17e4ffe3ab70427f3878f07 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libg15/libg15-1.2.7.ebuild,v 1.4 2010/03/09 21:52:36 josejx Exp $

inherit subversion autotools

DESCRIPTION="The libg15 library gives low-level access to the Logitech G15 keyboard"
HOMEPAGE="http://g15tools.sourceforge.net/"
ESVN_REPO_URI="https://g15tools.svn.sourceforge.net/svnroot/g15tools/trunk/libg15"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

src_unpack() {
	subversion_src_unpack
}


DEPEND="=virtual/libusb-0*"
RDEPEND=${DEPEND}

src_compile() {
	eautoreconf
	econf
	emake DESTDIR="${D}" install || die "make install failed"
}

src_install() {
	dolib .libs/*
	insinto /usr/include
	doins libg15
	dodoc AUTHORS README ChangeLog
}