--- /usr/portage/x11-libs/tslib/tslib-1.0-r2.ebuild 2013-01-20 19:01:34.000000000 -0700 +++ tslib-1.0-r3.ebuild 2013-12-05 15:17:54.596000495 -0700 @@ -1,10 +1,10 @@ # Copyright 1999-2013 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.9 2013/01/21 01:33:17 vapier Exp $ +# $Header: $ -EAPI="2" +EAPI="5" -inherit eutils toolchain-funcs autotools +inherit eutils toolchain-funcs autotools multilib-minimal PATCH_VER="5" DESCRIPTION="Touchscreen Access Library" @@ -14,18 +14,21 @@ LICENSE="LGPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86" +KEYWORDS="~amd64" IUSE="" #extras arctic2 collie corgi h3600 linear-h2200 mk712 ucb1x00" +DOCS=( AUTHORS NEWS README ) + src_prepare() { # patches come from buildroot + openembedded + suse EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patch eautoreconf } -src_configure() { +multilib_src_configure() { # compile everything. INSTALL_MASK= what you don't want. + ECONF_SOURCE=${S} \ econf \ --enable-linear --enable-dejitter \ --enable-variance --enable-pthres \ @@ -35,8 +38,3 @@ --enable-linear-h2200 --enable-mk712 \ --enable-ucb1x00 --disable-debug } - -src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS NEWS README -}