diff options
Diffstat (limited to 'media-libs/qhull/qhull-2020.2-r2.ebuild')
-rw-r--r-- | media-libs/qhull/qhull-2020.2-r2.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/media-libs/qhull/qhull-2020.2-r2.ebuild b/media-libs/qhull/qhull-2020.2-r2.ebuild deleted file mode 100644 index 1c60a003a251..000000000000 --- a/media-libs/qhull/qhull-2020.2-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Geometry library" -HOMEPAGE="http://www.qhull.org" -SRC_URI="https://github.com/qhull/qhull/archive/${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0/8" -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc" - -DOCS=( Announce.txt File_id.diz README.txt REGISTER.txt ) - -src_prepare() { - if ! use doc ; then - sed -i \ - -e '/^install(DIRECTORY html/d' \ - -e '/^[[:blank:]]*index.htm/d' \ - CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBUILD_STATIC_LIBS=OFF - -DLINK_APPS_SHARED=ON - -DDOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF} - -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - cmake_src_compile libqhull -} - -src_install() { - cmake_src_install - dolib.so "${BUILD_DIR}"/libqhull.so* -} |