blob: cd46c56289d78dbd3704c5cf9dad50ee6a8f139b (
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
41
42
43
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/tslib/tslib-1.0-r1.ebuild,v 1.10 2009/05/09 17:47:17 vapier Exp $
inherit eutils toolchain-funcs autotools
PATCH_VER=3
DESCRIPTION="Touchscreen Access Library"
HOMEPAGE="http://tslib.berlios.de/"
SRC_URI="mirror://berlios/${PN}/${PN}-${PV}.tar.bz2
mirror://gentoo/${PN}-${PV}-patches-${PATCH_VER}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 sh sparc x86"
IUSE=""
#extras arctic2 collie corgi h3600 linear-h2200 mk712 ucb1x00"
src_unpack() {
unpack ${A}
cd "${S}"
# patches come from buildroot + openembedded + suse
EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patch
eautoreconf
}
src_compile() {
# compile everything. INSTALL_MASK= what you don't want.
econf \
--enable-linear --enable-dejitter \
--enable-variance --enable-pthres \
--enable-input --enable-shared \
--enable-arctic2 --enable-collie \
--enable-corgi --enable-h3600 \
--enable-linear-h2200 --enable-mk712 \
--enable-ucb1x00 --disable-debug
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README
}
|