# Copyright 1999-2022 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 URELEASE="jammy" inherit autotools eutils ubuntu-versionator UVER="-${PVR_MICRO}" DESCRIPTION="An implementation of the GRAIL (Gesture Recognition And Instantiation Library) interface" HOMEPAGE="https://launchpad.net/grail" SRC_URI="${UURL}/${MY_P}${UVER_PREFIX}.orig.tar.bz2" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="mirror" DEPEND=">=sys-devel/gcc-4.6 sys-libs/mtdev unity-base/evemu unity-base/frame x11-libs/libXi test? ( sys-apps/xorg-gtest )" S="${WORKDIR}/${PN}-${PV}${UVER_PREFIX}" src_prepare() { ubuntu-versionator_src_prepare eautoreconf } src_configure() { econf --enable-static=no \ $(use_enable test integration-tests) } src_install() { emake DESTDIR="${D}" install prune_libtool_files --modules }