add ebuilds

This commit is contained in:
eddyem
2018-10-28 21:51:10 +03:00
parent 488733de52
commit 3fcfec48da
13 changed files with 569 additions and 254 deletions

View File

@@ -0,0 +1 @@
EBUILD fli_control-0.1.ebuild 752 BLAKE2B 7656dc18151be4991393f37926445a402867a280e4b8d37aa3cc899d70941494bd3edbc13e6fcdfd26e259dd0b1d575f2b8af339ce076bd58f461bb8744a8344 SHA512 49cc74ee2277b37a03b210d56aa096a3b876c28c07f56c25947a6ab9f912e0c85686a387f5076f0e21a6b663ae5ed960f398f3fb25927c23abddffa45a438a42

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="Simple FLI CCD, focuser and filter wheel management tool"
HOMEPAGE="https://github.com/eddyem/mytakepic/tree/master/fli_control"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="png raw"
DEPEND="
sci-libs/fliusb
sci-libs/libfli
sci-libs/cfitsio
"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_unpack() {
cp -r /home/eddy/C-files/mytakepic/fli_control/* ${S} || die
}
CMAKE_USE_DIR="${S}"
BUILD_DIR=${S}
src_configure() {
local mycmakeargs=(
"-DCMAKE_INSTALL_PREFIX=/usr/local"
"-DUSE_PNG=$(usex png)"
"-DUSE_RAW=$(usex raw)"
)
cmake-utils_src_configure
}