# Copyright 1999-2022 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8..10} ) URELEASE="jammy" inherit autotools eutils python-single-r1 ubuntu-versionator UVER="-${PVR_MICRO}" DESCRIPTION="Event Emulation for the uTouch Stack" HOMEPAGE="https://launchpad.net/evemu" SRC_URI="${UURL}/${MY_P}${UVER_PREFIX}.orig.tar.xz ${UURL}/${MY_P}${UVER_PREFIX}${UVER}.debian.tar.xz" LICENSE="GPL-3 LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="mirror" DEPEND="app-text/asciidoc app-text/xmlto dev-libs/libevdev" S="${WORKDIR}/${PN}-${PV}${UVER_PREFIX}" MAKEOPTS="${MAKEOPTS} -j1" pkg_setup() { ubuntu-versionator_pkg_setup python-single-r1_pkg_setup } src_prepare() { ubuntu-versionator_src_prepare eautoreconf } src_configure() { econf --enable-static=no \ $(use_enable test tests) } src_install() { emake DESTDIR="${D}" install prune_libtool_files --modules }