From c05788cabe36f96133ff194ccdd0b958e9897e2d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Feb 2012 19:32:24 +0000 Subject: Sync patches with upstream, and drop custom `inputattach` addition #281456. Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64 --- x11-libs/tslib/tslib-1.0-r2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 x11-libs/tslib/tslib-1.0-r2.ebuild (limited to 'x11-libs/tslib/tslib-1.0-r2.ebuild') diff --git a/x11-libs/tslib/tslib-1.0-r2.ebuild b/x11-libs/tslib/tslib-1.0-r2.ebuild new file mode 100644 index 000000000000..8930fe5af880 --- /dev/null +++ b/x11-libs/tslib/tslib-1.0-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/tslib/tslib-1.0-r2.ebuild,v 1.1 2012/02/12 19:32:23 vapier Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs autotools + +PATCH_VER="5" +DESCRIPTION="Touchscreen Access Library" +HOMEPAGE="http://tslib.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 + mirror://gentoo/${P}-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_prepare() { + # patches come from buildroot + openembedded + suse + EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patch + eautoreconf +} + +src_configure() { + # 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 +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS NEWS README +} -- cgit v1.2.3-65-gdbad