Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 484254
Collapse All | Expand All

(-)/usr/portage/x11-libs/tslib/tslib-1.0-r2.ebuild (-10 / +8 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/x11-libs/tslib/tslib-1.0-r2.ebuild,v 1.9 2013/01/21 01:33:17 vapier Exp $
3
# $Header: $
4
4
5
EAPI="2"
5
EAPI="5"
6
6
7
inherit eutils toolchain-funcs autotools
7
inherit eutils toolchain-funcs autotools multilib-minimal
8
8
9
PATCH_VER="5"
9
PATCH_VER="5"
10
DESCRIPTION="Touchscreen Access Library"
10
DESCRIPTION="Touchscreen Access Library"
Lines 14-31 Link Here
14
14
15
LICENSE="LGPL-2"
15
LICENSE="LGPL-2"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86"
17
KEYWORDS="~amd64"
18
IUSE=""
18
IUSE=""
19
#extras arctic2 collie corgi h3600 linear-h2200 mk712 ucb1x00"
19
#extras arctic2 collie corgi h3600 linear-h2200 mk712 ucb1x00"
20
20
21
DOCS=( AUTHORS NEWS README )
22
21
src_prepare() {
23
src_prepare() {
22
	# patches come from buildroot + openembedded + suse
24
	# patches come from buildroot + openembedded + suse
23
	EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patch
25
	EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patch
24
	eautoreconf
26
	eautoreconf
25
}
27
}
26
28
27
src_configure() {
29
multilib_src_configure() {
28
	# compile everything. INSTALL_MASK= what you don't want.
30
	# compile everything. INSTALL_MASK= what you don't want.
31
	ECONF_SOURCE=${S} \
29
	econf \
32
	econf \
30
		--enable-linear --enable-dejitter \
33
		--enable-linear --enable-dejitter \
31
		--enable-variance --enable-pthres \
34
		--enable-variance --enable-pthres \
Lines 35-42 Link Here
35
		--enable-linear-h2200 --enable-mk712 \
38
		--enable-linear-h2200 --enable-mk712 \
36
		--enable-ucb1x00 --disable-debug
39
		--enable-ucb1x00 --disable-debug
37
}
40
}
38
39
src_install() {
40
	emake DESTDIR="${D}" install || die
41
	dodoc AUTHORS NEWS README
42
}

Return to bug 484254