diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-11-10 11:10:05 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-11-10 11:10:47 +0200 |
commit | 3101d62e01293c6566da41a91d0a08e740bc0e9a (patch) | |
tree | 7cf43e210301f4361bde03ac1ed58c554ee88846 /dev-libs/hidapi | |
parent | dev-libs/hidapi: add version 0.11.0 (diff) | |
download | gentoo-3101d62e01293c6566da41a91d0a08e740bc0e9a.tar.gz gentoo-3101d62e01293c6566da41a91d0a08e740bc0e9a.tar.bz2 gentoo-3101d62e01293c6566da41a91d0a08e740bc0e9a.zip |
dev-libs/hidapi: ebuild enhancements for 0.11.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/hidapi')
-rw-r--r-- | dev-libs/hidapi/hidapi-0.11.0.ebuild | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/dev-libs/hidapi/hidapi-0.11.0.ebuild b/dev-libs/hidapi/hidapi-0.11.0.ebuild index 403cb3454997..1ed0ca0f94db 100644 --- a/dev-libs/hidapi/hidapi-0.11.0.ebuild +++ b/dev-libs/hidapi/hidapi-0.11.0.ebuild @@ -23,7 +23,7 @@ BDEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen )" -S="${WORKDIR}/${PN}-${PN}-${PV}" +S="${WORKDIR}/${PN}-${P}" src_prepare() { default @@ -32,10 +32,6 @@ src_prepare() { sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die fi - # Fix bashisms in the configure.ac file. - sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \ - -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die - # Portage handles license texts itself, no need to install them sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die @@ -56,15 +52,11 @@ multilib_src_compile() { } multilib_src_install() { - default - local HTML_DOCS + emake install DESTDIR="${D}" + find "${D}" -name '*.la' -delete || die + if use doc && multilib_is_native_abi; then - HTML_DOCS=( html/. ) + local HTML_DOCS=( html/. ) fi einstalldocs } - -multilib_src_install_all() { - # no static archives - find "${ED}" -name '*.la' -delete || die -} |