mirror of
https://github.com/eddyem/fitsview-hartmann.git
synced 2026-03-20 00:31:05 +03:00
add ebuild
This commit is contained in:
2
ebuild/Manifest
Normal file
2
ebuild/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
EBUILD fitsview-0.1.ebuild 979 BLAKE2B a9c5a81e38cae224d67df0cd6c8f0555d3e9452c3851b470847ee8a3d3daccf22b76b2fd44be57864213fbd3f7825c38c49f9417ffc89ec30824a20493f9ac22 SHA512 35b2b77cda746f5543d16bce54fef054f31ddd87f130f5b695c2082277f99e8ddb60de9677a86236ac0e8308e2837751dfac0c3f89824f635bc0fc8e422365ac
|
||||
MISC readme 73 BLAKE2B 5b75e850d824ecf0a6e531d255714ff0f636e992f2285d16e768b7da0e3df510519efd7fc86f41de975e23b49557bdd1a82273be066d464bc2db310944067243 SHA512 14254895a4102f59007bf33b2f5e5b434543a0973ebca4292e630a8e4cbf38a0daa161523c93db8ff529d328dc6cbef3bf1b8cab9533bb9740ed699d99000cb5
|
||||
1
ebuild/Readme
Normal file
1
ebuild/Readme
Normal file
@@ -0,0 +1 @@
|
||||
do ebuild fitsview-0.1.ebuild manifest after change of ebuild data
|
||||
44
ebuild/fitsview-0.1.ebuild
Normal file
44
ebuild/fitsview-0.1.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Very simple FITS visualisation tool"
|
||||
HOMEPAGE="https://github.com/eddyem/fits_filter"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cuda leptonica gsl"
|
||||
|
||||
DEPEND="
|
||||
virtual/opengl
|
||||
x11-libs/gtkglext
|
||||
sci-libs/cfitsio
|
||||
sci-libs/fftw
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit )
|
||||
leptonica? ( media-libs/leptonica )
|
||||
gsl? ( sci-libs/gsl )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -r /home/eddy/C-files/fitsview/* ${S} || die
|
||||
}
|
||||
|
||||
CMAKE_USE_DIR="${S}"
|
||||
BUILD_DIR=${S}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_PREFIX=/usr/local"
|
||||
"-DUSE_CUDA=$(usex cuda)"
|
||||
"-DUSE_LEPTONICA=$(usex leptonica)"
|
||||
"-DUSE_GSL=$(usex gsl)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user