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
}