mirror of
https://github.com/eddyem/apogee_control.git
synced 2026-03-20 08:41:04 +03:00
add ebuilds (with some appropriate code change)
This commit is contained in:
1
ebuild/sci-astronomy/apogee_control/Manifest
Normal file
1
ebuild/sci-astronomy/apogee_control/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD apogee_control-0.1.ebuild 977 BLAKE2B 15b947785fb45a720958d9f4cfdd39f07cc517ec2527c274fbd7ce2de97e14e7a4b7a55737a275c1c84b9f30b62157a8289b63f780073fd86588dde95180e155 SHA512 24bec09adbd7e8c3433850f073b3c676c6e720b4a6d3660d89bd221c897fa114a42d6a43eb829a19485b70a89e00f011aa29208c83599a47f479f496e6f29f6c
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Simple Apogee CCD management tool"
|
||||
HOMEPAGE="https://github.com/eddyem/apogee_control"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bta png raw imview"
|
||||
|
||||
DEPEND="
|
||||
bta? ( sci-libs/libsla )
|
||||
png? ( media-libs/libpng )
|
||||
sci-libs/libapogee
|
||||
sci-libs/apogeec
|
||||
sci-libs/cfitsio
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
APD="/home/eddy/C-files/apogee_control"
|
||||
|
||||
src_unpack() {
|
||||
cp ${APD}/*.{c,h,txt,cmake} ${S} || die
|
||||
cp -r ${APD}/image_view_module ${S} || die
|
||||
cp -r ${APD}/locale ${S} || die
|
||||
}
|
||||
|
||||
CMAKE_USE_DIR="${S}"
|
||||
BUILD_DIR=${S}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_PREFIX=/usr/local"
|
||||
"-DUSE_BTA=$(usex bta)"
|
||||
"-DUSE_PNG=$(usex png)"
|
||||
"-DUSE_RAW=$(usex raw)"
|
||||
"-DUSE_IMAGEVIEW=$(usex imview)"
|
||||
)
|
||||
#cmake ${mycmakeargs} .
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
1
ebuild/sci-libs/apogeec/Manifest
Normal file
1
ebuild/sci-libs/apogeec/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD apogeec-0.1.ebuild 640 BLAKE2B aaccde418f2fd4a94b183b0581631aa502471517788207f5377e92d6079a0a8182c8110a059b702fd8767593fb641c3bb2f49fa10546a7f782d6693ae6656da5 SHA512 f5e4e9ac8d28109c4ed4e4c0d8c44930f7069a2ab8e78c718c1ceeee33676cf342765d31560dfc224772aecf4d80edb2be83610d71bbb87b53a3cf1b7cd7ab53
|
||||
35
ebuild/sci-libs/apogeec/apogeec-0.1.ebuild
Normal file
35
ebuild/sci-libs/apogeec/apogeec-0.1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="libapogee C wrapper"
|
||||
HOMEPAGE="https://github.com/eddyem/apogee_control/tree/master/apogee_C_wrapper"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
sci-libs/libapogee
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -r /home/eddy/C-files/apogee_control/apogee_C_wrapper/* ${S} || die
|
||||
}
|
||||
|
||||
CMAKE_USE_DIR="${S}"
|
||||
BUILD_DIR=${S}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_PREFIX=/usr/local"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
1
ebuild/sci-libs/libapogee/Manifest
Normal file
1
ebuild/sci-libs/libapogee/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD libapogee-3.0.3179.ebuild 634 BLAKE2B 8541bd61810babc8c55e9855318652ed93f0b1434ea153cce9835f1b5c76a744acfaef57c2d5a82ca180fd4d77cbe81e3b515098f7128c56d4e0997f769e3cc6 SHA512 a2fe563ba97dd0037795a19a59168379f02a6d12cc12ad13c6868a1461ee58e9245498eeeb3c32203a311ba98b775a33842475bb0d12f0e90e0be8765b6b166c
|
||||
36
ebuild/sci-libs/libapogee/libapogee-3.0.3179.ebuild
Normal file
36
ebuild/sci-libs/libapogee/libapogee-3.0.3179.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Apogee CCD SDK"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/libapogee-3.0.3179"
|
||||
|
||||
src_unpack() {
|
||||
tar -zxf /home/eddy/C-files/apogee_control/libapogee/libapogee-3.0.3179.tgz
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf || die "econf failed"
|
||||
}
|
||||
|
||||
#src_install() {
|
||||
# insinto /usr/local/lib
|
||||
# doins libfli.a
|
||||
# insinto /usr/local/include
|
||||
# doins libfli.h
|
||||
# insinto /usr/share/pkgconfig
|
||||
# doins fli.pc
|
||||
#}
|
||||
1
ebuild/sci-libs/libsla/Manifest
Normal file
1
ebuild/sci-libs/libsla/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD libsla-7.0.0.ebuild 646 BLAKE2B 4e98c6bcc7a5c327ba2f7c936f4e77df0b6872debe04965a291c454464f6f1efc730d41e864e9547b7026f3777e5e01881d145c6857e0c24547cbf1e4f958392 SHA512 37b02e5adfe34ae0bdf0b5b76539fb7f944a4b974af7da99cc32f6c80e1620041d334bbd7d6486afd994080acd1d9ac1c377a9f8bbcd990c22aab6bd378b029d
|
||||
33
ebuild/sci-libs/libsla/libsla-7.0.0.ebuild
Normal file
33
ebuild/sci-libs/libsla/libsla-7.0.0.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Old SLA astronomy calculations library. DEPRECATED! Don't use it in new projects. Use libnova or libsofa instead."
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -r /home/eddy/C-files/apogee_control/slalib/* ${S} || die
|
||||
}
|
||||
|
||||
|
||||
src_install() {
|
||||
insinto /usr/local/lib
|
||||
doins libsla.so
|
||||
insinto /usr/local/include
|
||||
doins slalib.h slamac.h
|
||||
insinto /usr/share/pkgconfig
|
||||
doins sla.pc
|
||||
}
|
||||
Reference in New Issue
Block a user