add ebuilds (with some appropriate code change)

This commit is contained in:
eddyem
2018-10-28 21:29:23 +03:00
parent f5ba8ad63e
commit 4da483b33a
13 changed files with 250 additions and 18 deletions

View File

@@ -0,0 +1 @@
EBUILD apogeec-0.1.ebuild 640 BLAKE2B aaccde418f2fd4a94b183b0581631aa502471517788207f5377e92d6079a0a8182c8110a059b702fd8767593fb641c3bb2f49fa10546a7f782d6693ae6656da5 SHA512 f5e4e9ac8d28109c4ed4e4c0d8c44930f7069a2ab8e78c718c1ceeee33676cf342765d31560dfc224772aecf4d80edb2be83610d71bbb87b53a3cf1b7cd7ab53

View 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
}

View File

@@ -0,0 +1 @@
EBUILD libapogee-3.0.3179.ebuild 634 BLAKE2B 8541bd61810babc8c55e9855318652ed93f0b1434ea153cce9835f1b5c76a744acfaef57c2d5a82ca180fd4d77cbe81e3b515098f7128c56d4e0997f769e3cc6 SHA512 a2fe563ba97dd0037795a19a59168379f02a6d12cc12ad13c6868a1461ee58e9245498eeeb3c32203a311ba98b775a33842475bb0d12f0e90e0be8765b6b166c

View 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
#}

View File

@@ -0,0 +1 @@
EBUILD libsla-7.0.0.ebuild 646 BLAKE2B 4e98c6bcc7a5c327ba2f7c936f4e77df0b6872debe04965a291c454464f6f1efc730d41e864e9547b7026f3777e5e01881d145c6857e0c24547cbf1e4f958392 SHA512 37b02e5adfe34ae0bdf0b5b76539fb7f944a4b974af7da99cc32f6c80e1620041d334bbd7d6486afd994080acd1d9ac1c377a9f8bbcd990c22aab6bd378b029d

View 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
}